Description Usage Format Details Methods Active Bindings See Also
CategorModel inherits from GenericModel class, defining and modeling a conditional density P(A[m]|W,E...)
where A[m] is univariate and categorical. By calling self$new(), A[m] will be redefined into number of bins
length(levels) (i.e., number of unique categories in A[m]). By calling self$fit(), it fits hazard regressoin
Bin_A[m][k] ~ W + E on data (a DatKeepClass class), which is the hazard probaility of the observation
of A[m] belongs to bin Bin_A[m][t], given covariates (W, E) and that observation doesn't belong to any precedent bins
Bin_A[m][1], Bin_A[m][2], ..., Bin_A[m][k-1].
1 |
An R6Class generator object
reg - .
outvar - .
levels - Numeric vector of all unique categories in outcome outvar.
nbins - .
bin_nms - .
new(reg, DatKeepClass.g0, ...)Instantiate an new instance of CategorModel for a univariate categorical outcome A[m]
fit(data)...
predict(newdata)...
predictAeqa(newdata)...
cats...
DatKeepClass, RegressionClass, GenericModel, BinaryOutModel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.