asdocx: Export from Stata to Word, Excel, LaTeX & HTML › Forums › asdocx Forum › Suppress R-square but report Adj-R2 › Reply To: Suppress R-square but report Adj-R2
Hello Brian
I have updated asdocx in line with your request. R-squared can now be optionally suppressed in nested tables. The adjusted r-squared can be shown with the option stat(r2_a). See this example:
asdocx_update
sysuse auto
asdocx reg price mpg rep78 , nest stat(r2_a) nor2 replace
asdocx reg price mpg rep78 trunk, nest stat(r2_a) nor2
Table: Regression results
0 |1 2 3
----+-----------------------------------------------------------------------------
1 | (1) (2)
2 | price price
----+-----------------------------------------------------------------------------
3 |mpg -271.643*** -252.266***
4 | (57.771) (70.806)
5 |rep78 666.957* 650.053*
6 | (342.356) (346.176)
7 |trunk 42.466
8 | (88.662)
9 |_cons 9657.754*** 8711.347***
10 | (1346.54) (2395.593)
11 |Observations 69 69
12 |Adj R\super2 0.228 0.219
----------------------------------------------------------------------------------