I've been trying to aggregate my current data set into a panel format. Currently the data is a cross section of people and I'd like to aggregate by state. For example, there are multiple observations for Maine in 2013 and I'd like to condense the data so that is its own row. Some variables that are individual specific would be dropped but the state variables toward the end would be kept. Any help would be much appreciated!
Note that when I try running ~dataex~ I receive an error message as I have too many variables. Is there a way I can get around that to share my data?
Related Posts with Cross Section Data --> Panel
Average over a period of timeHi All, I have been using multiple real-time devices to collect air measurements., Now that I have …
merge problem: observations are matched but I get 'no observations' for variables of interestGreetings, I'm running Stata 15.1 on OSX. I'm working with a cumulative longitudinal dataset (the A…
mi impute chained error msg: right-hand variables or weights missing values--but they are notHello, I'm using the mi impute chained command on Stata SE 15.1. After encountering the perfect pre…
🐛 Stata crashes on command executionThe following example demonstrates a sequence of commands that when executed crash Stata without pos…
Heckman modelHello every one first: i know two ways to use Heckman test, (1) by generate dummy variable as follow…
Subscribe to:
Post Comments (Atom)
0 Response to Cross Section Data --> Panel
Post a Comment