CoefficientFunction
Estimated coefficient function beta(t) for a functional term.
Usage
CoefficientFunction(
grid,
values,
se=None,
lower=None,
upper=None,
term_name="",
)Returned by FunctionalGAM.coefficient_function(). Represents the fitted weight that each point t along a functional covariate’s domain contributes to the scalar response, together with pointwise confidence bands derived from the model’s coefficient covariance.
Attributes
grid: NDArray-
Evaluation grid on the functional domain, shape
(T,). values: NDArray-
Estimated
beta(t)values at grid points, shape(T,). se: NDArray | None-
Standard errors of
beta(t), shape(T,), orNone. lower: NDArray | None-
Lower confidence bound,
values - z * se, shape(T,), orNone. upper: NDArray | None-
Upper confidence bound,
values + z * se, shape(T,), orNone. term_name: str- Name of the functional term this coefficient function belongs to.