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
Compare beta coefficients of different panel regressionsDear Statalist-Users, Thank you for taking me in. After many hours of research, also in this forum,…
Efficient lags? Is copy and paste better?I am trying to link the volume sold on a service to the price of it. However, the timing differs as …
Regarding fixed effectsHello, I am an absolute beginner trying to run regressions and correctly intepret these regressions…
Creating the spatial lag (spmat lag) of a variable with missing valuesHello everyone, I'm trying to create the spatial lag of a variable. This variable is the amount of …
construct pairs.Dear All, For the following data, Code: * Example generated by -dataex-. To install: ssc install d…
Subscribe to:
Post Comments (Atom)
0 Response to Combining Columns but not adding them
Post a Comment