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
New version of kmest for SSCThanks yet again to Kit Baum, a new version of the kmest package (superseding last week's versions) …
Dropping Variables with Multiple Conditions.Hi, Statalist. I'm trying to clean a dataset. This is a small snippet below...I deleted some variabl…
Issues with putexcelHi, I am attempting to export some results of a simple OLS using putexcel: I need the coefficients …
problem plotting latitude and longitude using grmapDear Statalists, I am having some problem in plotting latitude and longitude on a map I have perform…
Replicate TableHello, I am trying to replicate the below table, but I'm not sure which command to use. The "final …
Subscribe to:
Post Comments (Atom)
0 Response to Create same variable across groups in panel data
Post a Comment