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
How to estimate marginal effects after nbreg, with multiple interaction terms and fixed effectsHi everybody. I'm trying to use margins command to estimate marginal effects for an interaction term…
clad model-[variable] not found not foundwhen I use CLAD model, it always saids "[variable] not found post: above message corresponds to expr…
runmlwin cross-lev interactions and random slope specificationHello, I am fitting a multilevel logit model using runmlwin following the procedure explicated in LE…
Merging datasets in Stata on long strings and less precise matching criterionIn my new blog post, I have discussed a problem that I usually encounter in merging two datasets on …
Testing if two coefficients are statistical differentDear Stataforum, I am currently investigating the Norwegian electricity market. I am running two r…
Subscribe to:
Post Comments (Atom)
0 Response to Data transformation
Post a Comment