Linear mixed models - significance of the "overall" fit

1 次查看(过去 30 天)
Hi all,
I' wondering if there's a test statistic that encompasses the overall fit of the linear mixed model. For example, if I fitted a model with 100 fixed effects I wouldn't jump straight into looking at the t tests for non-zero coefficients; I'd want a test statistic indicating that the overall model explains "something" before looking for the coefficients that do the explaining.
I guess another way to look at it is if I'm testing for differences between n treatments, I'd want a statistics telling me there is a treatment effect before looking at which treatments are different from each other.
Thanks, Andrew

回答(1 个)

Star Strider
Star Strider 2014-2-25
编辑:Star Strider 2014-2-25
I suggest Analysis-of-Variance ( anova ).
  2 个评论
Andrew
Andrew 2014-2-25
Hi Star Strider, thanks for your response.
When I do anova(lme) I get an F test for each fixed effect, which have the same p values as the original coefficient t tests. Since my fixed effects are all dichotomous, anova's F tests are from F distributions where the first degree of freedom is one, whereas I expect the test I'm after to have the first F degree of freedom equal to the number of fixed effects.
I think(!?) I'm after a comparison of the residuals for the models:
lme_null = c + (1|random_effects)
vs
lme_alt = c + fixed_effects + (1|random_effects)
Star Strider
Star Strider 2014-2-26
It’s been a while since I did anything with Linear Mixed Models (and then mostly with clinical trials). My recollection is that the ANOVA procedure gave overall information about the results, and then it was necessary to do t-tests (with corrections for multiple comparisons) to find out which were significant. You’ve probably already done the various versions of coefTest. It’s the only option I see that might give you the information you want.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 ANOVA 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by