GenerateSimulatedDataRaff: Generates Simulated Data for Rafferty Method

Description Usage Arguments Value

View source: R/EM.R

Description

Generates simulated HPV, cytology and colposcopy data by using the following functions: GenerateDataRaff, GenerateObs, GetClass, GetInitTrueRaff, GetTranTrueRaff, IntroduceMissing, IntroduceMissingAll, IntroduceMissingColpo, and Seperator

Usage

1
GenerateSimulatedDataRaff(n, t, p, lambda, max2 = 3, max3 = 2)

Arguments

n

number of individuals to generate

t

number of timepoints to generate

p

probability of being a stayer for simulated data

lambda

vector of length two, first value is weight given to value at time t-1, second value is weight given to value at time t-2

max2

number of possibilities from test 2

max3

number of possibilities from test

Value

list of three matrices, one for each test


jordanaron22/PartiallyObservedHMM documentation built on May 21, 2020, 6:49 p.m.