pop.avg: Cumulative risk of multiple false positive screening test...

Description Usage Arguments

View source: R/code.R

Description

A function for calculating the cumulative risk of multiple false positive screening test under population average model.

Usage

1
pop.avg (data, fpl.cens, functions1, functions2,l,M)

Arguments

data

A data frame containing S (censoring time), StudyID_c (ID), comp (the round when competing event occurs), delta (censoring status).

fpl.cens

A vector for the number of screening rounds of the l th false positive results that is either less than or greater than S or 0.

functions1

A list contaning round_1_pa(m1,m2) (function of censoring time which determine the probability of screening result at the first round), Ppmat_pa (m1,m2) ( a transition matrix for the last round when the total number of round attended is greater than 1. each transition probability can be a function of censoring time and patient characteristics), Pmat_pa(m1,m2) (transition mtrix when the first and last round is not included. The transition probabilities depend on censoring time and interaction of both and patient charcateristics).

functions2

A list contaning round_1(m1,m2) (function of screening round and censoring time which determine the probability of screening result at the first round), Ppmat (m1,m2) ( a transition matrix for the last round when the total number of round attended is greater than 1. each transition probability can be a function of censoring time, screening round, interaction of both and patient characteristics), Pmat(m1,m2) (transition mtrix when the first and last round is not included. The transition probabilities depend on screening round, censoring time and interaction of both and patient charcateristics).

l

Number of false positive for computing cumulative risk.

M

Maximum number of screening roud.


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