Dear community,
My original data are in long shape. When I reshape long to wide there is an increase in the number of observations. When I reshape back to long, these extra observations created remain in the long shape. Any clues to deal with this?
id variable: rc_pid
time variable: wave
Code:
reshape wide varlist , i(rc_pid) j(wave)
Related Posts with Increase in the number of observations after using RESHAPE command
Question re. F-stat missing in xtreg FE models and potential singleton issue// sorry for the long post - tried to provide all the background info // Dear Statalist community, …
Synthetic ControlHi. I want to create a synthetic state for my study using the command synth. However my data is at …
Creating new variable: 'flows' of newborn babies from CPS dataHi everyone, I am using CPS data and I am trying to estimate the effect of a policy change on the s…
Panel data Mixed Logit modelI developed a transport choice model (car, AV, and SAV). The software produces model generic not alt…
Missing value: Generating a new variable but only missing values have been generatedHello, I am working on a firm level panel data. I am trying to create a new variable by subtracting…
Subscribe to:
Post Comments (Atom)
0 Response to Increase in the number of observations after using RESHAPE command
Post a Comment