Dear all,
In FixedEffectModels
with fe
, the result doesn’t report intercept term. Anyone knows how to report constant term?
julia> df = dataset("plm", "GrunFeld")
julia> reg(df, @formula(Inv ~ Value + Capital + Year + fe(Firm)))
Fixed Effect Model
==================================================================
Number of obs: 200 Degrees of freedom: 13
R2: 0.947 R2 Adjusted: 0.943
F-Stat: 219.159 p-value: 0.000
R2 within: 0.779 Iterations: 1
==================================================================
Inv | Estimate Std.Error t value Pr(>|t|) Lower 95% Upper 95%
------------------------------------------------------------------
Value | 0.110721 0.0115852 9.5571 0.000 0.0878662 0.133575
Capital | 0.353577 0.0218494 16.1824 0.000 0.310474 0.39668
Year | -2.66422 0.843852 -3.15721 0.002 -4.32891 -0.999525
==================================================================
In Stata, it always report intercept term.
. xtreg inv mv ks c.year, fe
Fixed-effects (within) regression Number of obs = 200
Group variable: company Number of groups = 10
R-squared: Obs per group:
Within = 0.7786 min = 20
Between = 0.8108 avg = 20.0
Overall = 0.8010 max = 20
F(3,187) = 219.16
corr(u_i, Xb) = -0.2367 Prob > F = 0.0000
------------------------------------------------------------------------------
invest | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
mvalue | 0.1107 0.0116 9.56 0.000 0.0879 0.1336
kstock | 0.3536 0.0218 16.18 0.000 0.3105 0.3967
year | -2.6642 0.8439 -3.16 0.002 -4.3289 -0.9995
_cons | 5109.1716 1636.9071 3.12 0.002 1879.9942 8338.3489
-------------+----------------------------------------------------------------
sigma_u | 89.64192
sigma_e | 51.552705
rho | .75146422 (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0: F(9, 187) = 52.51 Prob > F = 0.0000
In econometrics, we often need to report intercept term.