Dear all,
I am using Stata 16, on mac. I have taken a snapshot on the panel dataset I am working with.
I used the following code:
generate mlda_21 = 0 if mlda<21
replace mlda_21 = 1 if mlda==21
to create the dummy variable mlda_21 which equals 0 if the minimum drinking age is less than 21 and equals 1 if the minimum drinking age is = to 21
I want to see how many states have a mlda of 21 for the year 1982. I was thinking of using the CountIf function?
Thank you in advance for your help
Jason Browen
Array Array Array
Related Posts with Help Using CountIf Function?
Can esttab produce percent change results for mixed models with log-transformed dependent variable?Hi Statalist, Is it possible to create a coefficients table that produces percent change instead of…
Poisson command on panel datawhen i run the following commnad xtpqml lexp_food year mig_stats_16 mig_stats_yr sex sector edu_hh e…
asdoc : addition of bysort prefix with tab, tab1, tab2 commandsI have just added support for the bysort prefix with tabulation commands in asdoc. Details and examp…
multilevel ordinal probit model_meoprobit_iccI am intending to establish a multilevel ordinal probit model. The dependent variables is injury sev…
outreg2 after tab1Using the below code, I generate several one-way frequency tables. I would like to send all the tabl…
Subscribe to:
Post Comments (Atom)
0 Response to Help Using CountIf Function?
Post a Comment