I have been given a data set that is in the format of paneldata. I would like to transform the dataset into cross sectional data, so instead of having for example several lines in Stata for each year for an individual, I would like to gather it so I only have one line for each person. How can I do this?
Related Posts with From panel data to cross-sectional data
Creating Date from Elapsed TimeI want to know when romantic relationships began. I have three different variables that indicate how…
Split issueI have a dataset with data by Congressional district: . dataex congdist in 1/5 Code: * Example …
How to make subgraphs on the same rowgraph bar (percent) countme, over(dif) by(weekday) I am plotting very simple subgroup bar chart by …
Create a new variable that count for the number of observations of a variable for the previous yearHello everyone, I have trouble creating a new variable with my data. In my data every event_date co…
How to report t-stat of sum of coefficient in journal/thesisDear all, I would like to report the sum of coefficient of interaction term and normal variables, in…
Subscribe to:
Post Comments (Atom)
0 Response to From panel data to cross-sectional data
Post a Comment