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"
Decomposing regression into within and between effectsConsider the following baseline model: yijk = beta * xijk + errorijk where i indicates a child, j i…
Principal Component Analysis (Creating an Index using Multiple Scores)Hello, everyone. I am computing an index using Principal Component Analysis. After running the PCA c…
Panel Data : Insufficient Observations (Singletons or separated by a fixed effect)Good day, I am using Stata 16 to run a fixed effect on effect Non Tariff Measures ( ADP QR SG SPS T…
Flexible parametric modelling, models do not convergeHi, I’m using the -stpm2- command to generate a flexible parametric model (relative survival, >1…
f test following reghdfe for joint significance of individual fixed effectsHi all, I'd like to run a f-test to test joint significance of each fixed effects. For example, I'd…
Subscribe to:
Post Comments (Atom)
0 Response to Panel Data Help - "Repeated Time Values"
Post a Comment