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
Question: Merging observations in one variable while simultaneously summing the numbers of the related observations in another variableHello I am new to this forum, so sorry if this question has been asked before (tried searching for …
Stata 16: garbled character in ado & help file.Dear Stata users, Some ado & help file which displays correctly under Stata 13 are now giving r…
Merging DatasetsDear all, I am trying to merge two datasets that contain sectoral information on value added, numbe…
Fama French: Calculating portfolio returns within sub-portfolios (aggregation of monthly returns) in different dimensionsHey all, I hope you are doing all well. I would like to calculate portfolio returns for an individ…
logistic risk prediction modelHi, I have developed a risk prediction model for Outcome (binary) based on 4 binary variables. I de…
Subscribe to:
Post Comments (Atom)
0 Response to collinearity
Post a Comment