round_1_nh: Probability of each state (screening result) in the first...

Description Usage Arguments Value

View source: R/code.R

Description

Function for computing the probability of each state in the first round which depends on the censoring time and number of prior false positive results at round g.

Usage

1
round_1_nh(m1_nh, m2_nh)(i, h,g,x)

Arguments

m1_nh

A (2M)<c3><97>2 matrix where M is the maximum number of screening rounds and initial state is true negative. For i from 1 to M, m1_nh[2(i-1)+1,] is the coefficients of a multinomial regression when the state is false positive and m1_nh[2i+1,] is the coefficients of a multinomial regression when the state is competing event.In this multinomial regression the variable state is regressed on the number of prior false positive at round i. In this regression subjects who attended only one round is included.

m2_nh

A (2M)<c3><97>2 matrix where M is the maximum number of screening rounds and initial state is false positive. For i from 1 to M, m2_nh[2(i-1)+1,] is the coefficients of a multinomial regression when the state is false positive and m2_nh[2i+1,] is the coefficients of a multinomial regression when the state is competing event .In this multinomial regression the variable state is regressed on the number of prior false positive at round i. In this regression subjects who attended only one round is included.

h

Vector of total number of screening round attended.

t

Vector of screening rounds.

g

Numeric value representing a fixed screening round.

x

A numeric value that represents the number of prior false positives at round g.

Value

A numeric value between 0 and 1 (probability) which represtns the probability of an specific state in the first round.


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