Description Usage Arguments Details Value Examples
calculates probability of missing conditional on x=0
1 2 |
do_tar |
numeric, target dro-out rate |
p_y1 |
numeric, probability of y=1 |
mp_x1 |
numeric, missing probability conditional on x=1 |
xs_ass |
character, Default: c("strong", "weak") |
xs_y0 |
numeric, Default: 0.6, for strong correlation between x and y, define conditional probability of x given y=0 |
xs_y1 |
numeric, Default: 0.2, for strong correlation between x and y, define conditional probability of x given y=1 |
xw |
numeric, Default: 0.6, for weak correlation between x and y, define prrobability of x (irrespective of the value of y) |
DETAILS
nymeric, conditional probability of missing when x=1
1 | mp_x0(do_tar = 0.3, p_y1 = 0.65, mp_x1 = 0.4, xs_ass = 'strong')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.