File:Friedmans mars linear model.png
Summary
| Description |
English: Plot of a simple linear model for comparison to the Friedman's Multivariate Adaptive Splines Regression (MARS) model in Friedmans_mars_simple_model.png |
| Date | |
| Source | Generated by the author from the "trees" dataset using the "earth" library in the R statistical package |
| Author | Stephen Milborrow |
Generated from within the R statistical language as follows:
a <- earth(Volume~Girth, data=trees, linpred=1) # linear model with earth so can use plotmo
png(filename="friedmans_mars_linear_model.png",pointsize=18,width=240, height=240)
plotmo(a, caption="", col.response="red", clip=0, xlab="x", ylab="y", main="")
dev.off()
Licensing
| I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |