Hello everyone,
I am attempting to compare the means of a variable across three different periods (e.g., var1_pretest, var1_posttest1, var1_posttest2).
I attempted to merge the data from the three periods into a single variable and conducted an ANOVA. Then I discovered that there is a -mvtest mean- command available for comparing the means of one variable, two variables, or more. I also want to try. However, I have some confusion regarding the -mvtest- command. Let me start with an example:
The result is like:
First, based on the results, we understand that the mechanism of -mvtest- follows Hotelling's T², as mentioned in the paper Implementation of a New Solution to the Multivariate Behrens–Fisher Problem (Ivan Zezula, 2009). My question is: since Hotelling's T² is used for comparing two variables, should -mvtest- adhere to the same principle? However, the manual indicates that -mvtest- allows for comparisons between two or more variables. How can this be reconciled with the principles of Hotelling's T²?
Second, Hotelling's T² requires two independent samples. If my data were collected from the same individuals at different time points, would -mvtest- still be applicable?
Third, -mvtest- requires the variables to be normally distributed. We have 122 observations, and some of the variables are not normally distributed. Are there any improving methods (e.g., non-parametric tests) that could be used in this case?"
Thank you so much!
I am attempting to compare the means of a variable across three different periods (e.g., var1_pretest, var1_posttest1, var1_posttest2).
I attempted to merge the data from the three periods into a single variable and conducted an ANOVA. Then I discovered that there is a -mvtest mean- command available for comparing the means of one variable, two variables, or more. I also want to try. However, I have some confusion regarding the -mvtest- command. Let me start with an example:
Code:
mvtest m srspre srspost srsdpost
Test that all means are the same
Hotelling T2 = 17.59
Hotelling F(2,120) = 8.72
Prob > F = 0.0003
Hotelling T2 = 17.59
Hotelling F(2,120) = 8.72
Prob > F = 0.0003
Second, Hotelling's T² requires two independent samples. If my data were collected from the same individuals at different time points, would -mvtest- still be applicable?
Third, -mvtest- requires the variables to be normally distributed. We have 122 observations, and some of the variables are not normally distributed. Are there any improving methods (e.g., non-parametric tests) that could be used in this case?"
Thank you so much!
Comment