A Julia package for regression splines. The package currently includes B-splines, natural B-splines, M-splines and I-splines.
- Support for safe predictions in
StatsModels.@formulafor natural splines. - Substantial refactoring of internal code to use callable types.
- Mainly bug fixes.
- A change of behaviour for
Splines2.is_andSplines2.is:intercept=truewill include a columns of ones, while the defaultintercept=falsewill keep all of the spline terms, but exclude the column of ones. This behaviour is different to thesplines2package in R, which will give all of the spline terms forintercept=TRUEand drop the first spline term forintercept=FALSE.
The package is registered inn the Julia General registry. For installation:
using Pkg; Pkg.add("Splines2")