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
repeated time values within panel: combining rows with the same dateHi all, My question is about a panel data set for which in would like to regress a certain monthly …
Saving matrices of resultsHello all, I wonder if someone could help me. I'm using this code to save the results from quantile …
keep ifHi, I want to use " keep if" to keep a subset of observations in my dataset, but I get an error: Typ…
How can we set Stata so that potential commands would pop up downward whenever we type in a string or word?Hey colleagues, Today I was asked a question by a student of my intro. stat. using Stata class. Ple…
mitigate against the potential problem of life-cycle effectsDear Stata community, My data is panel data, and the independent variable is available only in the …
Subscribe to:
Post Comments (Atom)
0 Response to Combining many columns with missing values
Post a Comment