Now I have data like:
hhid geo
1 1
1 1
2 2
2 2
3 3
3 3
And I use command "xtset hhid geo", there is a error that "repeated time values within panel".
I know this is because hhid is repeated, but I don't want to use "duplicates drop hhid geo, force" because I will lose half of data. hhid means "household id", so even though the hhid are same, the persons they represent are not same.
In this case, how can I fix this error without delete any data?
I'm looking forward to your help, thank you!
Related Posts with How to fix "repeated time values within panel"
Merging two rowsHi, I've dataset like this: Code: * Example generated by -dataex-. To install: ssc install dataex …
Coding for one relationship (Add Health WIV). Dropping people with the shortest relationship duration.I am using Wave IV of Add Health, and I am trying to get one partner among all of the relationships …
Bivariat probit model using panel dataDear, I hope you are fine, maybe somebody know the command of a Bivariate using panel data structur…
psmath2 and rbounds: estimating 'interaction effect' using Propensity Score Matching, and the sensitivity analysisHello, I'm using Propensity Score Matching method to estimate a treatment effect (psmatch2 used). On…
Attention: Frank LobueBy my count Frank Lobue -- which may be the name of a collective as one Anthony Santana sent me a re…
Subscribe to:
Post Comments (Atom)
0 Response to How to fix "repeated time values within panel"
Post a Comment