Hi,
I know that my question is a banality. However, how to present paired data so that the observations of a person (row) are connected and the data points of a variable (column) appear piled. I want to demonstrate, what happened to individual study subjects’ weights during a 3 month intervention.
Thanks in advance.
Mikko Lehtovirta
I know that my question is a banality. However, how to present paired data so that the observations of a person (row) are connected and the data points of a variable (column) appear piled. I want to demonstrate, what happened to individual study subjects’ weights during a 3 month intervention.
Thanks in advance.
Mikko Lehtovirta
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input long id double(weight_start weight_3m) 31157 59.9 55.7 40958 95.3 84.1 50767 77.1 69.3 60355 79.8 75.2 60566 74.8 71.4 end
Comment