est.expDeath: Estimation of the expected number of deaths.

est.expDeathR Documentation

Estimation of the expected number of deaths.

Description

Estimation of the expected number of deaths in a screening program using the method proposed by Sasieni (2003).

Usage

est.expDeath(contribution, incid, cox, fuzz, covnames)

Arguments

contribution

An object of contributions produced by the function contrib.

incid

A matrix containing: the incidences, the value of the covariates and the person-years at risk, in that order. It can be obtained with the function incidences.

cox

An oject of class coxph containing the model that was used to estimate the survival in the cohort of non-participants.

fuzz

Numerical precision is problematic when it comes to test equality between objects. The option fuzz is used to consider objects not differing by more than fuzz to be equal. The fuzz option should be chosen to be a small positive number, for instance 0.0001.

covnames

An alphanumeric vector containing the names of the covariates used to estimate the survival in the cohort of non-participants, that is, the names of the covariates used to obtain the cox object.

Value

Returns the expected number of deaths

Note

A complete example of usage is provided in the help page of the screening dataset.

Author(s)

Denis Talbot, Thierry Duchesne, Jacques Brisson, Nathalie Vandal.

References

Sasieni P. (2003) On the expected number of cancer deaths during follow-up of an initially cancer-free cohort. Epidemiology, 14, 108-110.

See Also

var.expDeath,inference.SMR, screening

Examples

#This example uses pre-built objects and shows the simple usage
#of the est.expDeath function when those objects already exists.
#For an example of how to built those object, refer to the 
#help page of the screening dataset.

data(req.objects);
cox.data = req.objects$cox.data;
#Remove "#" to run example :
#est.expDeath(req.objects$contribution,req.objects$incid,req.objects$cox,fuzz = 0.01, 
#req.objects$covnames);

#[1] 33.44264


InferenceSMR documentation built on May 9, 2022, 9:06 a.m.