- 37
- 0
- 约6.29千字
- 约 6页
- 2017-02-09 发布于重庆
- 举报
公路一氧化碳数据(一个回归的例子)
公路一氧化碳数据w-read.table(cofreewy.txt,header=T)a-lm(CO~.,data=w)summary(a)#输出Call:lm(formula = CO ~ ., data = w)Residuals: Min 1Q Median 3Q Max -0.75030 -0.33275 -0.09021 0.22653 1.25112 Coefficients: Estimate Std. Error t value Pr(|t|)(Intercept) 1.318967 0.242522 5.439 2.53e-05 ***Hour -0.0056890.017066 -0.333 0.74233Traffic 0.0184020.001413 13.026 3.15e-11 ***Wind 0.179189 0.0595173.011 0.00691 ** ---Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1Residual standard error: 0.5096 on 20 degrees of freedomMultiple R-squared: 0.9498,
原创力文档

文档评论(0)