Dear all,
I am using Stata 16, on mac. Here is the code that I have:
asdoc reg hard_drugs_DLI ait Dit fp1 hard_drug_start enl_mil employed_01_int employed_02_int employed_03_int employed_04_int employed_05_int employed_06_int employed_07_int employed_08_int employed_09_int mil_01_employer mil_02_employer mil_03_employer mil_04_employer mil_05_employer mil_06_employer mil_07_employer mil_08_employer mil_09_employer college_enroll i.year, vce(cluster PUBID_1997) add(cluster id, Y, Year Effects, Y, birthday Xi Xit fixed effects, YNYY) fs(6) drop(i.year fp1 enl_mil employed_01_int employed_02_int employed_03_int employed_04_int employed_05_int employed_06_int employed_07_int employed_08_int employed_09_int mil_01_employer mil_02_employer mil_03_employer mil_04_employer mil_05_employer mil_06_employer mil_07_employer mil_08_employer mil_09_employer fp2 fp3 hard_drug_start sex race int_bday college_enroll ait Dit) dec(3) cnames(Model 1) row nest save(Regression) append
Is there a way I could add fixed effects to this code?
Thank you so much in advance,
Jason Browen
Related Posts with Applying Fixed Effects to asdoc command?
Non-parametric correlation test between dichotomous variable and continuous oneDear Statalist. I have a small sample of countries. I have two variables, X which is a continuous v…
Reshaping and keeping labelsHello! As context, I'm estimating several regressions with around 900 parameters. I need to save aro…
Line graph (mean) with panel dataHey Stata community, I tried to plot something using a panel data set and the "line" command (sales…
Need help with constraint dropped when testing for equality coefficients and joint significance of two variablesHi all, Currently, I'm doing a multiple regression, with the totalcases as the dependent variable, …
Help needed Pearsons R table for Categorical Independent variablesHi All, I am trying to create a Pearson's correlation table in Stata. The experiment looks at Indep…
Subscribe to:
Post Comments (Atom)
0 Response to Applying Fixed Effects to asdoc command?
Post a Comment