Hello Stata users,
I started using Stata recently and at the moment I find myself in a dilemma. My database has millions of observations and about 30 variables. To get the regressions, I tried to balance my dataset with the worker identifiers variable (worker_id) with the time variable (year) first. The same worker can be found in several years, although it may be normal for it not to exist throughout the complete considered temporal sequence and only appear in a few years (from 2010 to 2018).
When executing the command "xtset worker_id year" the error "repeated time values within panel - r(451);" appears. How can I solve this problem?
Thank you for your attention.
Best regards!
Kate
Related Posts with Unbalanced dataset
The label is too long to fit on the X axis.Hi I'm stata beginner. I 'm drawing graph, but label is too long to fit on the X axis. Array Is t…
Using Matrix commandDear Users, I have two freq tables as follows: Table 1 Code: pml | Freq. Per…
Query about r(5); errorI am following certain accounting models to estimate measures of financial reporting quality. I have…
Question about recoding a variable, having issues with deleting some unwanted values.Hello everybody. I am a stata beginner, trying to do some descriptive analysis on a survey data. My…
xtlogit is not supported by svy with vce(linearized)This question is similar to this one: Using XT commands with Svy commands I was dealing with panel …
Subscribe to:
Post Comments (Atom)
0 Response to Unbalanced dataset
Post a Comment