Pmat_pa: Transition mtrix when the first and last round is not...

Description Usage Arguments Value

View source: R/code.R

Description

Function for computing the transition mtrix when the first and last round is not included. The transition probabilities depend only on censoring time.

Usage

1
Pmat_pa (m1_pa , m2_pa) (h)

Arguments

m1_pa

A vector of logistic regression coefficients considering only observation with current state true negative. In this regression results of screening is regressed on the censoring time.

m2_pa

A vector of logistic regression coefficients considering only observation with current state false positive. In this regression results 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.