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
Making a Balanced Panel Dataset in Stata 16 from (Almost) ScratchHello, I'm a long-time lurker and first time poster. I have a dataset in Stata with units (say, sta…
cmclogit & cmxtmixlogit: which model to use?Dear Statalists, I'm building a multinomial logit model to analyze ride-hailing behaviors. Each res…
Advice on Panel Data usage (tests to be performed)Dear all, I will start the methodology part of my master thesis soon and would like to get your adv…
duplicate article resultsHi, I am trying to duplicate table 2 using the researchers' do and ado files. for some reason I kee…
Error using spgenerateHello Statalisters, I am trying to create spatial lag variable manually using spgenerate command. I…
Subscribe to:
Post Comments (Atom)
0 Response to Increase in the number of observations after using RESHAPE command
Post a Comment