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"
Problems with Interval RegressionTo whom may offer me help, I would like to run "intreg" since my dependent variable is an interval …
Using instrumental variable in difference-in-difference model Code: xtreg outcome treated post did $controls i.year, fe vce(robust) By using the above fixed-effe…
Random effect model and correcting heteroscedastic/serial correlated standard errorHello to everyone can see my post, I am running a panel model for balanced data with N = 14 and T= …
All standard errors missingHi everyone, I am using the following specification: Code: reghdfe y_hat female_cw i.age if …
Single and Quadratic function in one loopDear Experts, I need you advice on the possibility to loop 2 codes into one. One is quadratic funct…
Subscribe to:
Post Comments (Atom)
0 Response to Regressing panel data returns "repeated time values within panel"
Post a Comment