求大神解惑,R语言回归结果Multiple R-squared究竟是什么,和相关计算结果不同,在R语言实战书中是这么表述的,我以为这个就是相关系数,但是发现和SPSS计算的完全不一样,后来才知道可以在R中用cor语句进行相关系数计算,使用kendall算法结果比较相近,但也不一样> cor(huiguidata,y=NULL,method ="kendall", use="complete")
LST NDBI
LST 1.0000000 0.5368911
NDBI 0.5368911 1.0000000
> summary(huigui) #显示详细回归结果
Call:
lm(formula = x ~ y)
Residuals:
Min 1Q Median 3Q Max
-0.57024 -0.13182 -0.01425 0.10684 1.06713
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -1.940540 0.060888 -31.87 <2e-16 ***
y 0.060764 0.001812 33.53 <2e-16 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 0.194 on 1019 degrees of freedom
(2 observations deleted due to missingness)
Multiple R-squared: 0.5245, Adjusted R-squared: 0.524
F-statistic: 1124 on 1 and 1019 DF, p-value: < 2.2e-16