Scalar-on-function linear model (source code)

= Scalar-on-function linear model

A scalar-on-function linear model has $Y=\alpha+\langle X,\beta\rangle+\varepsilon$, where the response is scalar and the predictor and slope are functions. Basis truncation turns it into a finite-dimensional linear regression.