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?
direct and indirect effects GSEMGood morning to everybody, I am running a GSEM (that for empirical needs cannot be a SEM). I am a li…
combine observations under conditionsHi there, I am seeking help to combine rows into one under a certain ID. The conditions are as below…
Error r(134) in roccompHi everyone. I am trying to compare the AUCs of two tests, y1 and y2. The outcome variable (true dia…
Creating a graph by groupHi, I can't figure out how to make a really simple graph, and I hope someone is able to help me out…
A Problem with Creating Standardized Variables for Each VariableDear all, I am trying to create new variables based on some specific variables ending with "dac2a".…
Subscribe to:
Post Comments (Atom)
0 Response to Applying Fixed Effects to asdoc command?
Post a Comment