回归诊断

来源:互联网 发布:腾达路由器网络不稳定 编辑:程序博客网 时间:2024/04/29 09:00

一、针对iris数据集做回归诊断
以下为回归诊断的代码

> z<-lm(iris$Sepal.Length ~ iris$Sepal.Width)> zCall:lm(formula = iris$Sepal.Length ~ iris$Sepal.Width)Coefficients:     (Intercept)  iris$Sepal.Width            6.5262           -0.2234  > plot(z)

这里写图片描述
这里写图片描述
这里写图片描述
这里写图片描述

http://blog.csdn.net/solomon1558/article/details/41325959http://blog.csdn.net/u011955252/article/details/50722071
0 0
原创粉丝点击