Hello
I have a question regarding splitting and reshaping a variable. My data set looks like the one in the attachment. I like to split the variable "Variable" into Cash, ROA etc. and reshape it to wide format, so that "Name" is the unique identifyer. I have tried it with the reshape formula; reshape wide variable but there I have the problem that I don't really know how to formulate it correctly. Do I have to make it in two steps ore can I just use the reshape or splitting formula?
It should look like:
Many thanks for any hint or help.
Best regards
Anna-Laura
I have a question regarding splitting and reshaping a variable. My data set looks like the one in the attachment. I like to split the variable "Variable" into Cash, ROA etc. and reshape it to wide format, so that "Name" is the unique identifyer. I have tried it with the reshape formula; reshape wide variable but there I have the problem that I don't really know how to formulate it correctly. Do I have to make it in two steps ore can I just use the reshape or splitting formula?
It should look like:
Name | Jahr | Cash | ROA |
ABB | 1 | Value | Value |
ABB | 2 | Value | Value |
ABB | 3 | Value | Value |
ABB | 4 | Value | Value |
CS | 1 | Value | Value |
CS | 2 | Value | Value |
CS | 3 | Value | Value |
CS | 4 | Value | Value |
Many thanks for any hint or help.
Best regards
Anna-Laura
Comment