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

Description Usage Arguments Value Note Author(s) References See Also Examples

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#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


Search within the InferenceSMR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.