Linear mixed models - significance of the "overall" fit

조회 수: 1 (최근 30일)
Andrew
Andrew 2014년 2월 25일
댓글: Star Strider 2014년 2월 26일
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