필터 지우기
필터 지우기

degrees of freedom for random factors in anovan

조회 수: 2 (최근 30일)
laurie
laurie 2014년 4월 3일
댓글: laurie 2014년 4월 3일
"anovan" seems to give the same number of degrees of freedom to a factor whether it is declared as random or fixed.
I thought that random factors "cost" less degrees of freedom. At least this is what happens in regression with mixed effects.
Any clues? Is this normal behavior?

채택된 답변

Shashank Prasanna
Shashank Prasanna 2014년 4월 3일
Laurie, anovan uses method of moments unlike in mixed-effects models which may use ML or REML. If you are interested in the latter, you may want to use:
here the degrees of freedom will be equal to n – p, where n is the number of observations and p is ONLY the number of fixed effects, not random effects.
  댓글 수: 1
laurie
laurie 2014년 4월 3일
Ok, so this is a normal behavior! I thought I was doing something wrong with the model specification in anovan. Well, that's a shame. Thanks :-)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by