Good morning fellow statalisters. I just have a quick question:
I currently have a dataset with multiple observations (individual responses) for multiple countries in multiple years. Now, when trying to xtset it I receive the r(451) error code which I expect given that I have repeating values of country/time. However, what I am trying to achieve is a panel data specification for individuals in a given country at time t. Would anyone be able to offer any assistance regarding how I'd go about attaining such a specification. I've tried collapsing the data set however for variables such as gender that don't vary over time this computes an mean of each of these for each country...
Thanks in advance!
Related Posts with Individuals within countries panel data
Regress only on fixed effects without using dummiesI want to regress on only fixed effects to obtain dipersion of within-variation. However, I am using…
Pseudo R2 for mprobit - Loglik with intercept-only modelI run both mlogit and mprobit regressions. Stata reports pseudo R2 for mlogit but not for mprobit. …
How to test coefficient equality with high dimensional fixed effect and IV?I have a panel dataset. My statistical model includes an exogenous variable X_1, an endogenous varia…
Pseudo R2 for mprogit - Loglik with intercept-only modelI run both mlogit and mprobit regressions. Stata reports pseudo R2 for mlogit but not for mprobit. …
Regress only on fixed effects (residualize) without using dummiesI want to regress on only fixed effects to obtain dipersion of within-variation. However, I am using…
Subscribe to:
Post Comments (Atom)
0 Response to Individuals within countries panel data
Post a Comment