Displaying 1 result from an estimated 1 matches for "__trim3".
Did you mean:
__trick
2012 Jul 07
0
fixed trimmed mean for group
...4]-win4)^2)
>
> ## calculate f statistic
>
> J=4
> h1=n1-2*floor(alpha*n1)
> h2=n2-2*floor(alpha*n2)
> h3=n3-2*floor(alpha*n3)
> h4=n4-2*floor(alpha*n4)
>
> H=h1+h2+h3+h4
>
> xt=(h1*trim1+h2*trim2+h3*__trim3+h4*trim4)/H
>
> num= ((trim1-xt)^2+(trim2-xt)^2+(__trim3-xt)^2+(trim4-xt)^2)/(J-__1)
> denom= (ssd1+ssd2+ssd3+ssd4)/(H-J)
>
> ft=num/denom
> pv[j]=1-pf(ft,(J-1),(H-J))
> }
> mean(pv<0.05)
>
>
>