Ppmat_pa: The transition mtrix for the last round when the total number...

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_pa (m1_pa, m2_pa)(h)

Arguments

m1_pa

A vector of multinomial regression<e2><80><99>s coffiecients considering the the last observations of subjects who attanded more than once and their current state is true negative. In this regression the result of screening is regressed on the censoring time.

m2_pa

A vector of multinomial regression<e2><80><99>s coffiecients considering the the last observations of subjects who attanded more than once and their current state is false positive. In this regression the result of screening is regressed on the censoring time.

h

Total number of screening rounds attended.

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.