Hello Statalists,
Hope you can advise on this.
Lets say I have data N=20 and T=100, and I want to import/paste one variable (let's say from excel) to be common across the 20 cross sections.
I can past it for the first group (id=1) which creates missing values for the other 19, but what is the efficient way to do this for the rest of the groups? Ideally pasting in 20 times is time consuming.
Thank you.
Related Posts with Create same variable across groups in panel data
Synthetic Control Aggregating Data from firm levelMy question is focused on finding the effect of the Brexit vote on the profitability of UK banks. I …
Panel Data Estimator ConfusionHi Statalist, I'm currently attempting to look at the impact of different variables on democracy. I…
How to deal with a difference in difference fixed effects model with a discrete treatment variable?Hi, I am trying to conduct a fixed effects difference in difference model to estimate the effect of …
How to specify family-level option for psmatch2 (my data is at the child-level)Hi everyone, first post so pardon me if I'm making a rookie mistake. I want to compare the differen…
multitple imputation : ROC curve sensibility and specificityDear Statalist, I am working on a clinical trial data set. I have 169 observations, a golden standa…
Subscribe to:
Post Comments (Atom)
0 Response to Create same variable across groups in panel data
Post a Comment