Hi, I'm fairly new to stata, and have just uploaded panel data; 8 countries of 8 years. 3 of my variables are dummies. None of my data is missing. After running command xtset cn_id year stata tells me my data is unbalanced.
. xtset cn_id year
panel variable: cn_id (unbalanced)
time variable: year, 2000 to 2017
delta: 1 unit
I don't understand why, as I have all my data in place. Is it because I have 0s due to dummies. I'm pretty new to stata..
I have added images of results from other commands after reading similar queries, but I still don't understand. I've counted on excel and i have 240 0 values from my dummies,, pls help..!
Related Posts with Unbalanced data; Does it have anything to do with dummy variables?
generate mean value of a locality excluding the focal firm and firms in the same industry as the focal firmDear Statalist, I am trying to generate the mean value of a locality, excluding the focal firm and …
Summing observations that fall below a scoreI am hitting a wall trying to create a variable that is a conditional sum where it looks at the scor…
Messy string data: how to do crosstabulations and descriptivesDear STATA community, Please help! I have messy data containing over thirty variations of different…
Statistical inferenceThe country is Japan, the period is 1972-2020, and the data is annual information. The current accou…
Labeling interaction terms in coefplotHi, I am trying to create a coefficient plot using just an interaction term that interacts a dummy …
Subscribe to:
Post Comments (Atom)
0 Response to Unbalanced data; Does it have anything to do with dummy variables?
Post a Comment