I want to generate a variable 'wave' to identify each wave in the dataset. I have the responding person identifier, but no year variable and so I need to create a wave variable to xtset (tsset) my panel (e.g. id, wave). I've searched throughout Statalist and elsewhere with no luck to date.
Can anyone kindly steer me in the right direction with the code please?
Related Posts with Generating a wave (time) variable in a panel data set
Help on computing bootstrap upper and lower confidence intervalDear all, I need your help. I try to create two variables ("upCDF" and "loCDF"), which contains the…
Trouble with level option on xtregHi everyone, The level(#) option for estimation functions can be used to choose the confidence inte…
Quick question: how to let stata read months?Hello! I hope someone here is able to help me out with this matter. I have a research where I am tr…
Problem with omitted variables during regressionDear Stata-listers, Iam currently analysing impact of access to microfinance institution to consumpt…
output using fsumHi, I am using fsum for my summary statistics to allow for labels to be used. I use fsum `sumvars'…
Subscribe to:
Post Comments (Atom)
0 Response to Generating a wave (time) variable in a panel data set
Post a Comment