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
Create a two-way line graph/bar chartHi all I want to create a line graph/bar chart which looks at the consumption of 3 main fertilizers…
interaction effects: Poisson or Double-limit TobitHi All, I am working with the DHS data across five countries and looking at relationship between wo…
Taking the average of observations within a specific date rangeHi, I want to compute the average of a variable (teamsize) for observations within a specific time…
How to filter dates within an interval from a set of observationHello, i have a dataset of around 900,000 observations from about 130,000 ids. The variables i am w…
Estimation output for Svy: meologit and melogit commandsHi all, I am using Stata 14.1 and i am getting an odd but of output. I am estimating a series of m…
Subscribe to:
Post Comments (Atom)
0 Response to Increase in the number of observations after using RESHAPE command
Post a Comment