![](/img/trans.png)
[英]How to train a multiple linear regression model to find the best combination of variables?
[英]How to find the best regression model fit for your plot
假设我希望拟合一个回归模型来从mtcars
数据集中disp ~ drat
mtcars
。 有没有我可以使用的包可以告诉我应该使用什么类型的回归,例如线性、多项式、贝叶斯等?
ggplot(mtcars, aes(disp, drat)) +
geom_point() +
facet_wrap(~cyl)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.