degrees of freedom for random factors in anovan
    6 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    laurie
      
 am 3 Apr. 2014
  
    
    
    
    
    Kommentiert: laurie
      
 am 3 Apr. 2014
            "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?
0 Kommentare
Akzeptierte Antwort
  Shashank Prasanna
    
 am 3 Apr. 2014
        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.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

