Hi STATA Community!
I have a question regarding panel data [this is my first time using the command]. I have a dataset which is all within one year. The date variable is properly formatted and I've grouped the individual ID #s to serve as the "panel variable."
Where I'm running into a problem is defining the dataset as panel data. It returns the error: r(451): Repeated time values within panel
I understand the nature of the error, as one 'person' (ID#s) could visit the same facility more than once in one day (time variable).
Is there any way around this? There is a variable for visits, which would uniquely identify visits within a day per person, but this variable does not correspond to the date variable, making a time-series analysis unfruitful.
I'd appreciate any thoughts the community might have, and thank you!
PCF
Related Posts with Panel Data Help - "Repeated Time Values"
Looping for Variance betaI need help with looping in mata. I have to write a code for Beta coefficients for OLS in mata throu…
Transforming a quarterly variable into a monthly variable and merging two databasesDear Statalist, I'm looking to transform a quarterly variable into a monthly variable so that it ma…
Confidence interval C indexHello! I need to obtain confidence interval of C index. I used these commands at first. How can I ob…
How can stata do not show the message of "Note:..."Dear friends, I would like to use a command to let stata suppress the message of "note: x dropped du…
Can I use country fixed effect as an instrument in xtabond2Hi All, I want to run the regression for my research using xtabond2 command. I have read Roodman (2…
Subscribe to:
Post Comments (Atom)
0 Response to Panel Data Help - "Repeated Time Values"
Post a Comment