Description Usage Arguments Value See Also Examples
gencensg
generates a censored sample from the mixture
of gamma distributions
with mixing probabilities of components given by
the matrix p.
1 | gencensg(p, shape, rate, shapec, ratec)
|
p |
matrix (or data frame) of mixing probabilities. with rows corresponding to subjects. and columns coresponding to the mixture components. |
shape |
vector of shape parameters for gamma distributions of non-censored components. |
rate |
vector of rate parameters for gamma distributions of non-censored components. |
shapec |
vector of shape parameters for gamma distributions of components' censors. |
ratec |
vector of rate parameters for gamma distributions of components' censors. |
a data frame with the censored sample. The attribute
$x
contains the sample values, the attribute $delta
contains the indicators of non-censoring.
The sample size equals the rows number of p.
Maiboroda R. Khizanov V. A modified Kaplan–Meier estimator for a model of mixtures with varying concentrations Theor. Probability and Math. Statist. 92 (2016), 109-116
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.