Learn R Programming

dejaVu (version 0.3.1)

ConstantRateDrop: Create a Dropout Mechanism with constant dropout rate

Description

Creates an MCAR DropoutMechanism object where subject i dropout is exponentially distributed with rate Ri where Ri = C*exp(Xi) for constant C and Xi a random normal variable with mean 0 and standard deviation sigma

Usage

ConstantRateDrop(rate, var = 0)

Value

A DropoutMechanism object

Arguments

rate

C described in the details

var

sigma^2 described in the details section, by default = 0

See Also

DropoutMechanism.object

Examples

Run this code
ConstantRateDrop(rate=0.0025)
ConstantRateDrop(rate=0.0025,var=1)

Run the code above in your browser using DataLab