Hi all,
I am using the regsave command to generate a dataset with a list of statistics that I plan to later use for creating some graphs. I am using this command to create a Stata dta, not a table.
I am running
which gives me a set of statistics (see below) but does not include the constant term associated with each regression. I was wondering if there is an easy way to include this term in my dta.
This is what my data looks like
Thank you!
Astrid
I am using the regsave command to generate a dataset with a list of statistics that I plan to later use for creating some graphs. I am using this command to create a Stata dta, not a table.
I am running
Code:
regsave using outcomes, append addlabel(year, Y`n', outcome, attendance)
This is what my data looks like
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str2 var float(coef stderr) int N float r2 str2 year str10 outcome "Du" .04910912 .031895615 6721 -.003773775 "Y7" "graduation" "Dn" .1635283 .06579578 6721 -.003773775 "Y7" "graduation" "Du" .035434615 .027076364 8574 -.004120412 "Y6" "graduation" "Dn" .15168454 .04944327 8574 -.004120412 "Y6" "graduation" "Du" .02645824 .025441853 8574 -.00552487 "Y5" "graduation" "Dn" .1584202 .04947082 8574 -.00552487 "Y5" "graduation" "Du" .02148266 .02088279 8574 -.0016554584 "Y4" "graduation" "Dn" .05769655 .04812319 8574 -.0016554584 "Y4" "graduation" "Du" .03529666 .023826674 6721 .0004097005 "Y7" "attendance" "Dn" -.005854927 .04485578 6721 .0004097005 "Y7" "attendance" "Du" .05378525 .022395836 8574 -.0001227465 "Y6" "attendance" "Dn" .032865014 .036374215 8574 -.0001227465 "Y6" "attendance" "Du" .0324158 .026787754 8574 .0009376752 "Y5" "attendance" "Dn" .06649923 .04469869 8574 .0009376752 "Y5" "attendance" "Du" .05486205 .03121347 8574 -.0027902916 "Y4" "attendance" "Dn" .13864861 .0480488 8574 -.0027902916 "Y4" "attendance" "Du" .04672282 .031793423 8574 -.001970332 "Y3" "attendance" "Dn" .1180051 .04745502 8574 -.001970332 "Y3" "attendance" "Du" .05682012 .032604184 8574 -.00305105 "Y2" "attendance" "Dn" .13746797 .04748501 8574 -.00305105 "Y2" "attendance" "Du" .04196186 .032960717 8574 -.002764723 "Y1" "attendance" "Dn" .13095056 .04723534 8574 -.002764723 "Y1" "attendance" end
Astrid
Comment