Hi, I tried figuring this out with old posts but nothing so far has worked. I would like to get the bottom two colums into the single one beneath it. hhid is a string while hvidx is not. How do I do this? Do I first have to destring or is there an easy direct command?
Thanks for your help!
hhid hvidx
1 12 1
1 20 1
1 20 2
1 20 3
1 20 4
1 20 5
1 20 6
1 27 1
1 27 2
1 27 3
caseid
1 12 1
1 20 1
1 20 2
1 20 3
1 20 4
1 20 5
1 20 6
1 27 1
1 27 2
1 27 3
Related Posts with Combining Columns but not adding them
Time stamps in forum softwareIs there any chance the forum software could be changed to specify time zone in the time stamps? Rig…
Assistance on Statistical analysisCan anyone help me out? I am investigating the coping strategies used among women by using the Brief…
Identification of Treatment and Control GroupRespected members, I am trying to employ DID as a means of analysis. In my dataset of 287 firms bet…
Problem with merging multiple csv files using merge 1:1Hi, I am a beginner in Stata (using Stata 16) and after going through many of the posts regarding m…
Multilevel Panel Data with CPS DataGood evening, Using the below Census Population Survey variables, I need to figure out the change i…
Subscribe to:
Post Comments (Atom)
0 Response to Combining Columns but not adding them
Post a Comment