LinearTerm#
- class liesel_ptm.LinearTerm(x, name, prior=None)[source]#
Bases:
Term
Linear function of one or more covariates.
- Parameters:
Methods
Computes predicted values given an array of posterior samples.
Computes predicted values given an array of posterior samples.
Computes a posterior summary for this term based on quantiles.
Computes a posterior summary for this term based on a subsample from the posterior.
Attributes
List of hyperparameter names associated with this term.
Array of observed
x
values.List of parameter names associated with this term.
Evaluation of this term.
Covariate node.
Regression coefficient node.
Node for the evaluated linear term
x @ coef
.List of
liesel.goose.kernel.Kernel
MCMC kernel classes.