这是我用体长跟周长做的一个广义最小二乘,用的是残差最大似然法。
nlme包里的gls()
结果如下:
Generalized least squares fit by REML
Model: Len ~ Peri
Data: DF.lp
AIC BIC logLik
-191.5638 -184.7338 98.78192
Correlation Structure: corBrownian
Formula: ~1
Parameter estimate(s):
numeric(0)
Coefficients:
Value Std.Error t-value p-value
(Intercept) -1.0049718 0.04635476 -21.68001 0
Peri 0.9660467 0.01394904 69.25541 0
Correlation:
(Intr)
Peri -0.891
Standardized residuals:
Min Q1 Med Q3 Max
-2.0067240 -0.9388614 -0.4839169 0.2435339 2.0423701
Residual standard error: 0.07383533
Degrees of freedom: 74 total; 72 residual
想问一下,这里的correlation是什么意思,为什么跟Coefficient中的值( 0.9660467)不一样呢,而且还一正一负???
谢谢。