Ppmat: Transition mtrix for the last round when the total number of...

Description Usage Arguments Value

View source: R/code.R

Description

function for computing the transition mtrix for the last round when the total number of round attended is greater than 1.

Usage

1
Ppmat(m1 , m2)(h,t)

Arguments

m1

vector of coefficients of multinomial regression when states (screening round results) are regressed on screening round, censoring time and interaction of both. In this regression only last screening round is considered when total number of rounds attended is greater than 1 and true negative is the current state.

m2

vector of coefficients of multinomial regression when states (screening round results) are regressed on screening round, censoring time and interaction of both. In this regression only last screening round is considered when total number of rounds attended is greater than 1 and false positive is the current state.

h

total number of screening round attended.

t

screening round.

Value

A transition matrix which it<e2><80><99>s entries represent the transition probabilities where 1<t=h. The first row represent the transition probabilities when the initial state is true negative. The second row represent the transition probabilities when the initial state is false positive and the third row show the transition probabilities when the initial state is the competing risk.


kgolmakani/cRisk documentation built on May 4, 2019, 6:30 a.m.