Dear all.When we use reghdfe to run pannel fixed-effects model,which kind of Rsq should we report in my paper?Adj R-squared or Within R-sq?
Best!
Raymond Zhang
code:
. webuse grunfeld,clear
. reghdfe invest mvalue kstock,a(company year) cl(company)
(MWFE estimator converged in 2 iterations)
HDFE Linear regression Number of obs = 200
Absorbing 2 HDFE groups F( 2, 9) = 60.08
Statistics robust to heteroskedasticity Prob > F = 0.0000
R-squared = 0.9517
Adj R-squared = 0.9431
Within R-sq. = 0.7201
Number of clusters (company) = 10 Root MSE = 51.7245
(Std. Err. adjusted for 10 clusters in company)
------------------------------------------------------------------------------
| Robust
invest | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
mvalue | 0.118 0.011 10.88 0.000 0.093 0.142
kstock | 0.358 0.048 7.48 0.000 0.250 0.466
_cons | -80.164 22.192 -3.61 0.006 -130.365 -29.963
------------------------------------------------------------------------------
Absorbed degrees of freedom:
-----------------------------------------------------+
Absorbed FE | Categories - Redundant = Num. Coefs |
-------------+---------------------------------------|
company | 10 10 0 *|
year | 20 1 19 |
-----------------------------------------------------+
* = FE nested within cluster; treated as redundant for DoF computation
Related Posts with Question about reghdfe command
Sample Selection BiasI have some data from the labour force survey and I'm estimating wage regression. I want to include …
can we transfer args in different do file or how to use statapush efficiently?As far as I know, user-command statapush can be used in seperate way. Usually, I have to seperate do…
Trying to do Rolling Standard Deviation give me this error. Can someone help ?Here is the command: tsset GVKEY_n Year rolling sd_NIBE=r(sd), window (4) clear : su NetIncome And…
How to make household the unit of analysis when using a household survey dataHello everyone, I am currently working on LSMS-ISA for Nigeria, however, whilst some sections have …
3SLS with Instrument VariablesIs it possible to run a 3SLS specification using instrument variables in Stata? I have the followin…
Subscribe to:
Post Comments (Atom)
0 Response to Question about reghdfe command
Post a Comment