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
"variable e not found" message from -describe-I don't understand why I'm getting the message Code: variable e not found r(111); when I run the c…
Repeated time values within panelHello, I am trying to set a panel data but I keep getting this message: Code: . xtset id year repea…
How to get the same point estimate using ivreg2 and xtabond2 with a constant termDear all, I am writing a project using IV as my main strategy, and I want to use a dynamic panel as…
Error message "outcome does not vary; remember 0=negative outcome, all other nonmissing values=positive outcome"Hello, I have a binary variable that I called SRI. This variable equals 1 if an investor invests in…
Help interepreting the results of sem/medsem mediation analysis toolsHello everyone, I have a doubt interpreting the results obtained when using the sem/medsem commands…
Subscribe to:
Post Comments (Atom)
0 Response to Combining Columns but not adding them
Post a Comment