Good afternoon,
Attached is an extract of my dataset. I have cross-sectional data with two variables (GRSSWK1 and GRSSWK5, measuring the gross weekly wage in quarter 1 and quarter 5, respectively), capturing two different periods for observations 2956, 2597 and 2958.
I need to be able to transform this into panel data to assess a time-trend interaction, for example creating 't=1, 2' and a gross weekly wage variable for the same observation.
I'm aware one possibly way may be to duplicate and then match, however my econometrics and Stata knowledge aren't great, nor am I certain that I would be able to do this for 5000 observations (my full dataset) and other variables.
Any help would be greatly appreciated.
Array
.
Related Posts with Problem with converting a cross-sectional dataset into panel
Help to combine graph bar and connected into single graph, by group(s)Have been trying without luck to combine the two graph types (bar and connected line) to be overlaye…
[Error: icio] Missing adb tables (2001-2006)Hello everyone, I want to ask how I can contact or report issues in using the icio command. I am cur…
ERROR Fixed effect estimation (reghdfe) : treatment variable is collinear with the fixed effectsHi all, I am conducting a study to estimate the effect of Medicaid expansion on the uninsured rate …
ASGEN command for weighted averageHello everyone, I have to compute the weighted average of democratic scores in the destination cou…
two graphsHello I want to combine these two graphs into one graphs please twoway (scatter ed yearofbirth) |…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with converting a cross-sectional dataset into panel
Post a Comment