I want regress difference model in panel data.
using two year data, for example, I want to estimate the effect of independent variable with trend.
but the problem is that when I use the gen time=_n, the time order is mixed up every time, so the result became different whenever I analyze.
The other problem is that if I made the time variable , for example 1, 2 for every id, because of colinearity, it came out zero
How can I handle that?
Related Posts with trend and time
- RD Plot with Evenly Spaced binsHi all, I am trying to run RDplot while choosing my number of evenly spaced bins. If I want to have …
- Mediation Analysis using medsensHi everyone, I am currently doing an mediation analysis using medsens. I think it is a user-written…
- -aweight- if only dependent variable represents an average/medianHi everyone, my data contains information of approx. 500 firms over a 7-year-period (quarterly obse…
- Conditional execution of a code line on if clauseHey there, Iam still newish to Stata and want to code it like other languages. So my todays project…
- Geocoding adviceDear STATA Community, I need some advice on geocoding: My sample has more than a million observati…
Subscribe to:
Post Comments (Atom)
0 Response to trend and time
Post a Comment