Hi, I have 4 items at baseline for which I calculated the mean and SD with the following commands:
sum var1 if timepoint == 1
sum var2 if timepoint == 1
sum var3 if timepoint == 1
sum var3 if timepoint == 1
Then I need to estimate a new variable (mean and SD) of the sum of each items mean
(mean var1 + mean var2 + meanvar3 + meanvar4)/4
What would be the command for this second part?
Thanks!
sum var1 if timepoint == 1
sum var2 if timepoint == 1
sum var3 if timepoint == 1
sum var3 if timepoint == 1
Then I need to estimate a new variable (mean and SD) of the sum of each items mean
(mean var1 + mean var2 + meanvar3 + meanvar4)/4
What would be the command for this second part?
Thanks!
Comment