Hi everyone,
I use the next commands to run regression of every variable in the global list of $questionnaire on every variable in the global list of $measures.
Now I want to export to result to Excel in the next way: Every variable in $questionnaire will be a column and every variable in $measures will be a row, so that the estimators of all the regressions will appear in one Excel table (I don't need the coefficients of "mean_fathers_education" and "locality_mean_mothers_education"). Of curse that I wan the standard errors to appear in parenthesis in a row below the estimators, and asterisks to represent the significance level.
What Should I add to my code?
Thank you!
Fitz
I use the next commands to run regression of every variable in the global list of $questionnaire on every variable in the global list of $measures.
Code:
global questionnaire locality_q25_5_6_share locality_q26_5_6_share locality_q41_5_6_share locality_q42_5_6_share locality_q43_5_6_share locality_q44_5_6_share locality_q45_5_6_share locality_q40_1_2_share locality_mean_share_5_6 lclty_mean_q25_26_43_44share_5_6 global measures hhi_school_zip X_1_zip_share_unique school_family_name_homogeneity X_4_family hhi_elementary_school_2 foreach i in $questionnaire { foreach j in $measures { reg `i' `j' locality_mean_fathers_education locality_mean_mothers_education } }
What Should I add to my code?
Thank you!
Fitz
Comment