Displaying 1 result from an estimated 1 matches for "dfwithin".
Did you mean:
_within
2009 Sep 09
1
Stats help with calculating between and within subject variance and confidence intervals
...;(Intercept)"[[1]][1]) # Grand Mean (I think)
> within<-summary(BGaov)$"Error: Within"[[1]]$"Mean Sq" # S2^2Mean
Square Value for Within Machine = 0.1819
> dfMachine<-summary(BGaov)$"Error: Machine"[[1]]$"Df" # DF for within = 3
> dfWithin<-summary(BGaov)$"Error: Within"[[1]]$"Df" # DF for within = 8
> machine<-summary(BGaov)$"Error: Machine"[[1]]$"Mean Sq" # S1^2Mean
Square for Machine
> between<-(machine-within)/((dfWithin/(dfMachine+1))+1) # (S1^2-S2^2)/J
> total<...