Hello Users,
Please help with data transformation.
The current data format:
sub-var1 sub-var2 sub-var3
var1 2 5 7
var2 9 10 6
var3 3 8 1
sub-var4 sub-var5 sub-var6
var4 0 4 7
I want to transform them into:
var1 var2 var3 var4 var5 var6 var7 var8 var9 var10 var11 var12
2 5 7 9 10 6 3 8 1 0 4 7
Thank you very much.
Lynn
Related Posts with combine columns and rows into one row
How do I interpret interaction effects in a log-level regression model?My model: log(y)=β0 + β1x1 + β2log(x2) + β3x1log(x2). The x1 variable is endogenous and I instrume…
Mlabel command to label datapointsHello I am trying to label the datapoints in the graph below. I want to mark the number of machines …
How to count the number of observations at the min and max value?Given the data set, Find the average education level in the sample. What are the lowest and highest …
Pseudo R-squareds for melogitHi, Are there any packages to estimate (several) pseudo R-squareds after melogit? - I have noted t…
Evaluating a policy *expansion* using Difference in DifferenceDear All: I am writing to ask for a Difference-in-Difference question. Usually in a standard DiD s…
Subscribe to:
Post Comments (Atom)
0 Response to combine columns and rows into one row
Post a Comment