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"
Splitting a string variable in to three parts Dear All, I have a string variable and I want to divide it into three parts. Here's the example. …
Nonlinear regressionHello guys, I was recently trying to replicate an approach from Barber, Brad M. and Huang, Xing and…
How could I match firms?Hello, I would like to ask how I could match firms as follows. As you can see from the table on the…
panels are not nested within clustersDear Statalist users, I am estimating a Linear Fixed Effect model in a panel context, which I set a…
non-stationary dependent variableDear all, Hope you are well. I am using panel data and I have found out that my dependent variable …
Subscribe to:
Post Comments (Atom)
0 Response to Regressing panel data returns "repeated time values within panel"
Post a Comment