Learn R Programming

DynTxRegime (version 3.01)

coef: Retrieve Model Coefficients

Description

Retrieve model coefficients from regression analyses.

Usage

coef(object,...)

Arguments

object
An object of class "DynTxRegime".
...
Passed to coef() defined by fitting function.

Details

The exact structure of the returned list will depend on the statistical method used to estimate an optimal treatment regime and value.

For methods that employ outcome regression, the list will have one element named 'outcome' in which all coefficient information for the outcome regression step(s) will be given.

For methods that use propensity score modeling, the list will have one element named 'propensity' in which all coefficient information for the propensity score regression step(s) will be given.

The 'outcome' and 'propensity' elements may also be lists. For example, for multiple-decision-points, the sub-list will have an element for each decision point named with 'dp=x' where x takes the value of the decision point. For example, [['outcome']][['dp=1']], [['outcome']][['dp=2']], etc.

Subset modeling will also result in sub-lists, the names of which are 'Subset=x' where x takes the values of the subset names as defined by the user in the input.