Dear Statatist,
I have try reshape and stack command but still can't solve the problem related to data transformation.
I would like to transform the data set as follows (from left table to right table):
Array
I have attach the dataset and hope you can suggest a solution for this case.
Thanks in advance.
NGUYEN.
Related Posts with Data transformation
Is DiD possible for examining effect of a continuous treatment on a continuous outcome among single group dependent sample?Hi Statalist, I'm new to the forum and a novice Stata user. I'm studying the effect of a continuou…
how to calculate the loop for variables?I need to calculate the second row variable minus the first row variable, the fourth row variable mi…
Problem graphing by many variablesHello ! My name is Hans Huber and I was wondering if someone could help me making a certain type of…
Problem graphing by several variablesHello ! My name is Hans Huber and I was wondering if someone could help me making a certain type of…
Asymmetric predictors in dynamic panel models?Hi all, In a longitudinal analysis, I suspect that the impact of an increase in a predictor variabl…
Subscribe to:
Post Comments (Atom)
0 Response to Data transformation
Post a Comment