Hi everyone!
I would like to "concatenate" many columns with missing values in one. Below is an example of my subset:
A B C D
1 . . .
. 2 . .
. . 3 .
. . . 4
What I would like is to "merge" from variables A to D in order to have a variable Z :
Z
1
2
3
4
Any help would be greatly appreciated, thank you.
Related Posts with Combining many columns with missing values
invalid (variable) r(198) - What does this mean?Hi there, I am trying to run a factor analysis on state ( Code: factor, R1, R2, etc, pcf however…
-xtdpdml- with interaction termHi Stata Experts: I would to use -xtdpdml- to estimate dynamic panel cross-lagged model. My model …
Check values from one variable against another variableHello, I'd like to write a code which checks if the values in one variable appear atleast once in a…
obtaining the first three digitsI have naics codes that have six digits, and I want to get the first three digits in each of them an…
-xtabond2- with interaction termHi Stata Experts: I am using xtabond2 to estimate the impact of interaction term on outcome variabl…
Subscribe to:
Post Comments (Atom)
0 Response to Combining many columns with missing values
Post a Comment