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
Stata does not remember font size preferencesI'm running Stata 15 on Windows 10. Every time I open Stata, the fonts in all the windows are set t…
Merging two panel data set when name of countries differ slighltyI am using two different data sets from; one from World Bank and another one from IMF. The name of t…
common heterogeneity in Network meta-analysesHi, does anyone know how to estimate common heterogeneity in Network meta-analysis? I found the com…
meqrlogit: logistic mulitilevel with TSCS data : Does it look correct? + questionsDear Statalists, I am new here in the forum. I have worked on a model for some time, and I am quit…
Mi predict basesurvHi all, I am having problems trying to get the baseline survivor function after mi predict. I am us…
Subscribe to:
Post Comments (Atom)
0 Response to combine columns and rows into one row
Post a Comment