GetInitTrueRaff: Calculates True Intial Probabilities for Rafferty Method

Description Usage Arguments Value

View source: R/EM.R

Description

Calculates True Intial Probabilities from simulated latent data. Incorporated in GenerateSimulatedDataRaff()

Usage

1
GetInitTrueRaff(data_true, stayer_vec_true, max2, max3)

Arguments

data_true

simulated latent data

stayer_vec_true

vector of latent indicators for whether an individual is a stayer

max2

number of values the second test can take on

max3

number of values the third test can take on

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

Value

true initial vector


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