fitting

Member Training: Cubic Splines

July 2nd, 2025 by

Splines provide a useful way to model relationships that are more complex than a simple linear function. They work with a variety of regression models.

(more…)


Linear Models in R: Improving Our Regression Model

April 23rd, 2015 by

Stage 2Last time we created two variables and used the lm() command to perform a least squares regression on them, and diagnosing our regression using the plot() command.

Just as we did last time, we perform the regression using lm(). This time we store it as an object M. (more…)