Description Usage Arguments Details Value See Also
This function computes logit^{-1}(β_0 + Xβ) if is.null(mu), otherwise it computes mean(logit^{-1}(β_0 + Xβ) - μ).
1 | logistic_prob(beta0, Xbeta, mu = NULL)
|
beta0: |
A numeric value. |
Xbeta: |
A numeric matrix. |
mu: |
A numeric value, by default it is set to NULL |
This function is used when generating missing data from a complete data set.
p: logit^-1(beta0 + Xbeta) if is.null(mu) or mean(logit^-1(beta0 + Xbeta)) - mu.
Other data generating functions: MAAR_mechanism_noindep
,
MAAR_mechanism
,
MANAR_mechanism
, sample_mvn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.