Hello everybody
I'd like to reshape my data from wide to long format but as the name of my variables are
userid f9001 f9002 f90003 f320001 f320002 f320003 f360001 f360002 f9001_co f9002_co f90003_co f320001_co etc. age gender etc.
I thought it might be done with foreach and local but with those variable names I don't know how to handle it.
Can anybody help?
Thanks in advance
Related Posts with Reshape command
Allocating monthly observation to daily dataHello, I am trying to allocate an observation which is recorded at the last day of a month to a dat…
dataset structure for cluster samplingi want to select 800 clusters from a listing of 2000 enumeration areas. my sampling strategy is syst…
Stratify or include interaaction terms when assessing the associations for boys and girls between several exposure variables and outcomeDear all, I have a model with 6 exposure variables and some other covariates. I would like to analys…
Define value label tand conver it to from a string variable to a numeric oneHello, My name is Christian and I am just beginning as a user of STATA. My question might be a bit …
Time-series regressionHello everyone, I'm new to the topic Stata, and have a rather simple question, although I could not…
Subscribe to:
Post Comments (Atom)
0 Response to Reshape command
Post a Comment