Hello everyone,
I am trying to extract a regression output for a xtreg var var , fe process. My dataset contains around 650 variables and 400,000 observations. The grouping variable in my case is gvkey_n, the ID of the individual. I am using Stata 16 for Mac.
Currently, I am using the command
outreg2 using MToutput4.xls, append ctitle (ebitmargin developed model) dec(4)
to report the regression output on the dependent variable ebitmargin. However, the excel version created does not contain the within/ between groups reports.
How do I add the R^2 adjusted for each regression for the respective within groups R^2 adjusted and between groups R^2 adjusted?
Kind regards
Related Posts with extracting within groups and between groups R^2 adj. using the Outreg2 command
Specifying Identity Equation for Forecast of ARIMA(0,1,1) With and Without a ConstantI am estimating an arima(0,1,1) and then using the forecast suite but am having difficulty in specif…
Twoway graph of treated/control means by group with smoothingHi all, I am trying to generate some plots using the means for treatment/control group for various g…
random fixed effect model of panel dataHi, I am trying to anlysis an (unbalanced) panel data which covers around 6000 companies (79000 fri…
Matching data in a case controlHello there, I am trying to match data for a case control study on a positive cancer diagnosis on b…
Multiple conditions within loopHello, Stata Users! My question might seem too simple, but I am struggling with generating new vari…
Subscribe to:
Post Comments (Atom)
0 Response to extracting within groups and between groups R^2 adj. using the Outreg2 command
Post a Comment