回归诊断

xiaoxiao2021-02-27  262

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

> z<-lm(iris$Sepal.Length ~ iris$Sepal.Width) > z Call: 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/41325959 http://blog.csdn.net/u011955252/article/details/50722071
转载请注明原文地址: https://www.6miu.com/read-9942.html

最新回复(0)