GetTranTrueRaff: Calculates True Transiition Probabilities for Rafferty Method

Description Usage Arguments Value

View source: R/EM.R

Description

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

Usage

1
GetTranTrueRaff(data_true, stayer_vec_true, lambda, max2, max3)

Arguments

data_true

simulated latent data

stayer_vec_true

vector of latent indicators for whether an individual is a stayer

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 values the second test can take on

max3

number of values the third test can take on

Value

true transition matrix


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