I'm not sure the way I paste the result here is the same way you mentioned, but I left the result here.
I faced another issue of collinearity. As you see, my model is simple difference model of panel data with trend, but in this time, the result of trend is omitted in every time period. I analyzed difference model for two time period based 2014; so the time gap is 1,2,3,4 to 2015, 2016, 2017, 2018 respectively, I used the time gap as trend variable.
Is it fail to building model appropriately or coding?
Thank you for taking your time and answer in advance.
drop in 39/40
(2 observations deleted)
. encode occupation, gen(occ)
sort occ, stable
. by occ: gen time=_n
. tsset occ time
panel variable: occ (strongly balanced)
time variable: time, 1 to 2
delta: 1 unit
. gen lemp=log(근로자수)
. reg D.lemp trend D.lnMWRIIWMW
note: trend omitted because of collinearity
Source | SS df MS Number of obs = 19
-------------+---------------------------------- F(1, 17) = 0.41
Model | .016417834 1 .016417834 Prob > F = 0.5315
Residual | .684092334 17 .040240726 R-squared = 0.0234
-------------+---------------------------------- Adj R-squared = -0.0340
Total | .700510168 18 .038917232 Root MSE = .2006
------------------------------------------------------------------------------
D.lemp | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
trend | 0 (omitted)
|
lnMWRIIWMW |
D1. | -.0059717 .0093492 -0.64 0.532 -.0256969 .0137534
|
_cons | .083711 .0534071 1.57 0.135 -.0289683 .1963902
------------------------------------------------------------------------------
Related Posts with collinearity
Assigning value "1" to a dummy variable when another variable reaches its max, for each individual across choice alternativesI have a dataset of about 3800 observations. This dataset is in long form: I have about 760 individu…
Rosenbaum BoundsHi, I have conducted propensity score matching using the WHO-5 Mental Health Index as my outcome va…
Stata- margins and rifreg commandHi, We have a problem with margins after rifreg command: it works without writting xi in front of ri…
Generating a New Variable based on Conditional IF StatementsHello STATA Experts: I am trying to create a new variable based on the existence of certain conditio…
How to get the significance level stars for the coefficients in thresholdreg cammand for (Hansen, 2000) Threshold Estimation __________________________________________________ ____________________ Thres…
Subscribe to:
Post Comments (Atom)
0 Response to collinearity
Post a Comment