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?
How to find the matched observation with nearest Mahalanobis distance?Hi everyone, I am wondering how to find the matched observation with nearest Mahalanobis distance. …
Within Estimator StataI have a set of panel data showing Unemployment in NI & ROI pre brexit in 2015 and post brexit i…
Changing Axis Range - Pre Saved .gphHi Im having an issue with a pre saved graph. I would like to change the range of mye y-axis. Someon…
Cumulative frequency of unique values within groupsHello statalist, My dataset is an unbalanced time series (with repeated years). Each company can ha…
Cox-Model with very few observationsHello everybody, I am researching peace agreements and their durability if they include gender prov…
Subscribe to:
Post Comments (Atom)
0 Response to Unbalanced data; Does it have anything to do with dummy variables?
Post a Comment