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
Fuzzy matching alphanumeric nameHi, I am trying fuzzy string matching from two files using 'dtalink' package. In both files I have a…
Data spanning across different time period - how to convert it into common variables?Hi, I asked this question in an earlier thread but I guess the data was too confusing, so simplifyin…
Determining direction of causality from FE/FDHi everyone, I am trying to identify the causal effect that X has on y. I am running a pooled OLS f…
Variable non stationary at First differenceHello Everyone. I have a dataset with different variables. I used the ADF to check for stationarit…
Odds ratios with cmmprobit ?Dear all, I am wondering if there is a way to get odds ratios or risk ratios with cmmprobit in Stata…
Subscribe to:
Post Comments (Atom)
0 Response to Individuals within countries panel data
Post a Comment