GAMLSSPrediction
Result of GAMLSS.predict().
Usage
GAMLSSPrediction(
values,
linear_predictors,
se=None,
)Holds, for every distributional parameter in the fitted GAMLSSFamily, the predicted value on the response scale (values), the corresponding linear predictor (linear_predictors), and optionally the standard error of that linear predictor (se). Because a GAMLSS estimates several parameters at once (for example mu and sigma of a location-scale family), the results are keyed by parameter name rather than returned as a single array.
Attributes
values: dict[str, NDArray]-
Dict mapping parameter names to predicted values on the response scale, i.e.
theta = g^{-1}(eta)for each parameter’s link functiong. linear_predictors: dict[str, NDArray]-
Dict mapping parameter names to predicted linear predictors
eta = X @ beta(plus any offset). se: dict[str, NDArray] | None-
Dict mapping parameter names to standard errors on the linear predictor scale, or
Noneifse=Falsewas passed topredict().