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
predict after xtreg, feHello, I have a fixed effects panel regression: xtreg exp cost i.year, fe My regression coefficien…
Mediation Analysis in Difference-in-Differences (DiD)Hello, I am trying to test mediation using difference-in-differences. My outcome variable is compan…
Exporting a cross table using three string variables to a CSV fileDear Statalisters, How do I export a result table using three string variables ("region", "cat", "fi…
Stata MP in Microsoft Terminal Server EnvironmentHello, would anyone be able to offer any white paper or solutions articles on deploying Stata MP in …
Coefplot how to change bar colors?My question is how can I change the bar colors when using HTML Code: coefplot I tried this: HTML …
Subscribe to:
Post Comments (Atom)
0 Response to Individuals within countries panel data
Post a Comment