I am trying to put some regression results into an etable and put that into a pdf.
I can do it with a simple etable that has no options, however when I use options or if I want an etable that has results from multiple regressions, it seems putpdf won't accept it.
This example does work (simple table):
This example does not work:
This example also doesn't work:
Could someone share an example of putting an etable that uses options into a pdf? I am using Stata MP 17.0. Many thanks in advance!
I can do it with a simple etable that has no options, however when I use options or if I want an etable that has results from multiple regressions, it seems putpdf won't accept it.
This example does work (simple table):
Code:
sysuse auto, clear putpdf begin regress mpg weight putpdf table mytable = etable putpdf save results1.pdf, replace
This example does not work:
Code:
sysuse auto, clear putpdf begin regress mpg weight putpdf table mytable = etable , cstat(_r_b) cstat(_r_se) \\ option cstat(_r_b) cstat(_r_se) not allowed putpdf save results1.pdf, replace
This example also doesn't work:
Code:
sysuse auto , clear reg mpg weight etable, cstat(_r_b) cstat(_r_se) cstat(_r_p) mstat(N) mstat(r2) showstars showstarsnote * Add on more results to the etable qui reg mpg length etable, append qui reg mpg price etable, append putpdf begin putpdf table mytable = etable // information for the estimation table not found; // putting the regressions after the "putpdf begin" also does not work putpdf save results2.pdf, replace
Comment