//How to report publication sytle regression output in Stata sysuse auto.dta,clear //load the example dataset describe //First Install the User Written command //You just need to install it once ssc install outreg2 //run the regression analysis regress price mpg headroom trunk gear_ratio displacement //output the regression results outreg2 using results, word //Replace and Append option. Default is append regress price mpg headroom trunk displacement outreg2 using results, word replace regress price mpg headroom trunk displacement,robust outreg2 using results, word append regress price mpg headroom outreg2 using results, word append //Ctitle places cutomized title over each column regress price mpg headroom trunk displacement outreg2 using results, word replace ctitle(OLS) regress price mpg headroom trunk displacement,robust outreg2 using results, word append ctitle(Robust) //Ctitle with comma to add additional row regress price mpg headroom trunk displacement outreg2 using results, word replace ctitle(Model 1, OLS) regress price mpg headroom trunk displacement,robust outreg2 using results, word append ctitle(Model 2, Robust) //Labels using outreg2 regress price mpg headroom trunk displacement outreg2 using results, word replace ctitle(Model 1, OLS) label regress price mpg headroom trunk displacement,robust outreg2 using results, word append ctitle(Model 2, Robust) label //Adjust Decimal places regress price mpg headroom trunk displacement outreg2 using results, word replace ctitle(Model 1, OLS) label dec(2) regress price mpg headroom trunk displacement,robust outreg2 using results, word append ctitle(Model 2, Robust) label dec(2) //Different Decimal places for different statistics regress price mpg headroom trunk displacement outreg2 using results, word replace ctitle(Model 1, OLS) label bdec(2) sdec(3) regress price mpg headroom trunk displacement,robust outreg2 using results, word append ctitle(Model 2, Robust) label bdec(2) sdec(3) //Add footnote and Nonote regress price mpg headroom trunk displacement outreg2 using results, word replace ctitle(Model 1, OLS) label dec(2) addnote(Model 1 represents results of OLS. Model 2 have robust standard errors) regress price mpg headroom trunk displacement,robust outreg2 using results, word append ctitle(Model 2, Robust) label dec(2) //Table title using outreg2 regress price mpg headroom trunk displacement outreg2 using results, word replace ctitle(Model 1, OLS) label dec(2) title(Factors Determining the Car Price) addnote(Model 1 represents results of OLS. Model 2 have robust standard errors) regress price mpg headroom trunk displacement,robust outreg2 using results, word append ctitle(Model 2, Robust) dec(2) label