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
mann-whitney U testHi there, After the Mann-Whitney U test, how to see whether there is any difference between the two…
Interpretation and Relevance of Long Run Coefficients in System GMM RegressionsHello, Hi, I estimate the following system GMM model based on a panel dataset of 1696 firms across…
Quantile-Quantile plotsHi, I have been given a particular dataset which has the beta values and the corresponding z-scores…
Coding all subsequent observations per group after an eventHello everyone, I have an unbalanced daily panel data which looks like below. "Pastdefault" and "No…
mlogit/mprobit: Standard error for marginal effect on combination of outcomesDear statalist users, when estimating a multinomial logit or probit model for a dependent variable …
Subscribe to:
Post Comments (Atom)
0 Response to Problem with converting a cross-sectional dataset into panel
Post a Comment