LinearRateChangeDrop {dejaVu}R Documentation

Create a Dropout Mechanism with drop out rate which changes by a fixed constant after every event

Description

Creates an MAR DropoutMechanism object where subject i has piecewise exponential dropout rate where the rate changes by a constant amount after each event, specifically after j events the subject has rate Rij = Cj*exp(Xij) where Cj=C+j*D for constants C, D and Xij is a standard normal variable with mean 0 and standard deviation sigma

Usage

LinearRateChangeDrop(starting.rate, rate.change, var = 0)

Arguments

starting.rate

C, see description section.

rate.change

D, see description section. Note if D<0, Cj could be negative for large j, this is not possible and the rate remains constant if the next change would set Cj<=0

var

sigma^2, see description section

Value

A DropoutMechanism object

See Also

DropoutMechanism.object

Examples

LinearRateChangeDrop(starting.rate=0.0025,rate.change=0.0005)
LinearRateChangeDrop(starting.rate=0.0025,rate.change=-0.00001,var=1)

[Package dejaVu version 0.3.1 Index]