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
Transform string to date failedPlease help me to transform the "date" variable to real date form "YYYYMMDD". I have tried everythin…
Computation of densities for exemplary observations with Finite Mixture Model (FMM) and Quantil Regression (QR)Dear Statalist, I want to use a Finite Mixture Model (4 Gaussian's) and a Quantile Regression to co…
Difference in Differences with Multiple Periods - Interpretation of CoefficientI am currently looking at the effect of a policy change on some states in the US that implemented th…
likelihood ratio testsAm i correct in thinking that likelihood‐ratio tests can be used to assess whether extra variables j…
Fixed effect and reverse causalityHi Statalist, i am analyzing a dataset of performance for Footballplayers and How a transfer affect…
Subscribe to:
Post Comments (Atom)
0 Response to combine columns and rows into one row
Post a Comment