Description Usage Format Details Methods Active Bindings
This R6 class defines and fits a conditional probability model P(A[j]|W,...)
for a univariate
continuous summary measure A[j]
. This class inherits from GenericModel
class.
Defines the fitting algorithm for a regression model A[j] ~ W + ...
.
Reconstructs the likelihood P(A[j]=a[j]|W,...)
afterwards.
Continuous A[j]
is discretized using either of the 3 interval cutoff methods,
defined via RegressionClass
object reg
passed to this class constructor.
The fitting algorithm estimates the binary regressions for hazard Bin_A[j][i] ~ W
,
i.e., the probability that continuous A[j]
falls into bin i
, Bin_A[j]_i
,
given that A[j]
does not belong to any prior bins Bin_A[j]_1, ..., Bin_A[j]_{i-1}
.
The dataset of discretized summary measures (BinA[j]_1,...,BinA[j]_M
) is created
inside the passed data
or newdata
object while discretizing A[j]
into M
bins.
1 |
An R6Class
generator object
reg
- .
outvar
- .
intrvls
- .
intrvls.width
- .
bin_weights
- .
new(reg, DataStorageClass.g0, DataStorageClass.gstar, ...)
...
fit(data)
...
predict(newdata)
...
predictAeqa(newdata)
...
cats
...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.