asdocx: Export from Stata to Word, Excel, LaTeX & HTML › Forums › asdocx Forum › Applying label for the dependent variable in regression
Tagged: asdocx, label, nested regression
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
Dear Professor Attaullah
I’ve noticed that label option is not applied for the dependent variable. Although I can manually name columns using cname(), I think it would be useful if it reports label of dependent variable when the option is used.
Given your request, I have now updated asdocx. When use option
labelin the nested regressions, asdocx will report variable labels for the dependent and independent variables.asdocx_update sysuse auto, clear asdocx reg rep78 price mpg, nest label replace asdocx reg foreign price mpg, nest label 0 |1 2 3 ----+-------------------------------------------------------------------------------------- 1 | (1) (2) 2 | Repair record 1978 Car origin ----+-------------------------------------------------------------------------------------- 3 |Price 0.000* 0.00** 4 | (0.00) (0.00) 5 |Mileage (mpg) 0.086*** 0.042*** 6 | (0.021) (0.009) 7 |constant 1.066* -0.893*** 8 | (0.614) (0.277) 9 |Observations 69 74 10 |R-squared 0.207 0.224 -----------------------------------------------------------------------------------
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.