Hi somebody there. I am new to start and I am trying to regress panel data from a huge cohort that followed up 10000k+ people for 10+years. My data is in the long panel and i am trying to regress it. Patients were followed up at different time points and as such some patients had many evaluations in a year (some with more than 2 evaluations in one month). When i try to use xtreg, STATA returns an error message "repeated time values within panel". I guess this is because some patients had more than one evaluation in a year. Can i use date of evaluation as as the time variable?
I am clueless on what is happening.
Thanks
Related Posts with Regressing panel data returns "repeated time values within panel"
How to measure time dependent reproductive number (Rt) in stataHello everyone. I'm trying to make epidemiological curve of COVID 19 in my region. I wonder if STATA…
xtscc: remove constant term from differenced estimationHello, I am estimating a first difference model of this kind: d.y= d.x1 + d.x2 + d_t*. where x1 and …
How to locate Mata function called by lpoly?I am using Stata 14.0 with mac OS 10.15. I would like to produce a modified version of the command -…
Mixlogit with 'corr' option: convergence issueDear all, I am encountering a convergence problem with the 'mixlogit' command (written by Arne Risa…
How to insert results tablesHi Everyone. I want to get assistance but I am unable to insert my result tables on here. I can't s…
Subscribe to:
Post Comments (Atom)
0 Response to Regressing panel data returns "repeated time values within panel"
Post a Comment