Format how locals are displayed in Stata

Often I use locals to calculate something (such as the mean of a variable for a specific group) and use this in a loop (say, over groups or over years). If you, for example, want to calculate the share of observations that belong to one group (say: female==1), you could simply write

Continue reading “Format how locals are displayed in Stata”