how marginal means (also called least square means) and standard deviation are calculated from repeated measure model? I do not have any "groups" in my data, I only have 76 samples each measured in 6 locations (1 location missing in one sample)
4 次查看(过去 30 天)
显示 更早的评论
I would like to calculate marginal means and std from repeated measure model or directly from raw data. I do not have any group in my data. I have 76 samples and each measured in six different location in the same sample. I would like to see effect of locations and I used repeated measure but I would like to calculate marginal mean and standard deviation of the data from the repeated measure model.
0 个评论
采纳的回答
Jeff Miller
2018-5-11
With this model I believe the marginal means and standard deviations for the different locations are simply the raw means and standard deviations of the scores at each of the locations. The model does not seem to include anything other than location that could be adjusted for (e.g., covariates).
6 个评论
Jeff Miller
2018-5-11
Look at the value of rm.WithinFactorNames. This is the name of the variable that you shouldo pass to multcompare. Or you could just use this:
multcompare(rm,rm.WithinFactorNames)
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!