Displaying 1 result from an estimated 1 matches for "ssph".
Did you mean:
ssh
2008 Jun 07
1
Multivariate LM: calculating F-values after calling linear.hypothesis
...Sum of squares and products for error:
[,1] [,2] [,3] [,4]
[1,] 4.4957632 1.084781 2.196134 -0.7621832
[2,] 1.0847809 173.494183 20.425963 -7.7303319
[3,] 2.1961336 20.425963 8.584237 -3.8182268
[4,] -0.7621832 -7.730332 -3.818227 2.3045286
1-pf(diag(linhyp2$SSPH)/diag(linhyp2$SSPE),1,79)
1-pt(sqrt(diag(linhyp2$SSPH)/diag(linhyp2$SSPE)),79)
##
The last two lines of code are what I am stuck with; I thought using
diag() on the SSPH and SSPE matrices should give me the sums of squares
for hypothesis and error; so division should yield the F values?
I would...