Extends the class clv.fitted.transactions with slots to accommodate the various additional optimization options that can be used for covariates models. Also used to perform steps during the estimation process that are specific to static covariates models.

# S4 method for clv.fitted.transactions.static.cov
show(object)

Slots

estimation.used.constraints

Single boolean whether the estimation constraint any covariate parameters to be the same for both processes.

names.original.params.constr

Character vector with the original names of the constraint covariate parameters. Length zero if none are constraint.

names.original.params.free.life

Character vector with the original names of the not constraint lifetime covariate parameters. Length zero if none are free.

names.original.params.free.trans

Character vector with the original names of the not constraint transaction covariate parameters. Length zero if none are free.

names.prefixed.params.constr

Character vector with the prefixed names of the constraint covariate parameters during optimization. Length zero if none are constraint.

names.prefixed.params.free.life

Character vector with the prefixed names of the not constraint lifetime covariate parameters during optimization. Length zero if none are free.

names.prefixed.params.free.trans

Character vector with the prefixed names of the not constraint transaction covariate parameters during optimization. Length zero if none are free.

names.prefixed.params.after.constr.life

Character vector containing the names of all constraint and free lifetime covariates parameters with lifetime prefixes only. Needed after reduplicating the constraint parameters.

names.prefixed.params.after.constr.trans

Character vector containing the names of all constraint and free transaction covariates parameters with transaction prefixes only. Needed after reduplicating the constraint parameters.

estimation.used.regularization

Single boolean whether the estimation used regularization.

reg.lambda.life

Single numeric with the lambda used for regularizing the lifetime covariate parameters. Length zero if regularization is not used.

reg.lambda.trans

Single numeric with the lambda used for regularizing the transaction covariate parameters. Length zero if regularization is not used.

prediction.params.life

Numeric vector of the lifetime covariate parameters, set and used solely when predicting. Named after lifetime covariates and derived from coef().

prediction.params.trans

Numeric vector of the transaction covariate parameters, set and used solely when predicting. Named after transaction covariates and derived from coef().

See also