mp_y0: conditional missing probability for missing not at random

Description Usage Arguments Details Value Examples

View source: R/mp_y0.R

Description

calculates probability of missing conditional on y=0

Usage

1
mp_y0(do_tar, mp_y1, p_y1)

Arguments

do_tar

numeric, target dro-out rate

mp_y1

numeric, missing probability conditional on y=1

p_y1

numeric, probability of y=1

Details

the aim of this function is to calculate probability of missing conditional on y=0, in order to impose mnar missingness structure

Value

numeric

Examples

1
mp_y0(0.1, 0.14, 0.65)

yuliasidi/bin2mi documentation built on March 11, 2021, 8:10 p.m.