relative.risk: Estimate relative risks

Description Usage Arguments Details Value See Also Examples

View source: R/relative.risk.R

Description

A function to estimate relative risks for risk factor combinations

Usage

1
relative.risk(data, Raw_Ind=1)

Arguments

data

A data set containing all the required input data needed to perform risk projections, such as initial age, projection age, BrCa relative risk covariates and race. See exampledata for details.

Raw_Ind

The raw file indicator with default value 1. Raw_Ind=1 means RR covariates are in raw/original format. Raw_Ind=0 means RR covariates have already been re-coded to 0, 1, 2 or 3.

Details

The age is dichotomized as "age less than 50 years" and "age 50 years or more". The relative risks can be obtained from Gail Model, an unconditional logistic regression that included main effects NB_Cat, AM_Cat, AF_Cat, NR_Cat as well as interactions between AF_Cat and NR_Cat and between the age category and NR_Cat.

Value

RR_Star1

Relative risk for woman of interest at ages < 50.

RR_Star2

Relative risk for woman of interest at ages >= 50.

PatternNumber

The sequence number of risk patterns. There are 3 levels for NB_Cat, 3 for AM_Cat, 4 for AF_Cat, 3 for NR_Cat, 3*3*4*3 = 108 patterns in total. Pattern Number=NB_Cat*3*3*4+AM_Cat*3*4+AF_Cat*3+NR_Cat*1+1.

See Also

recode.check

Examples

1
2

elvezpablo/BCRA_API documentation built on July 21, 2020, 1:59 p.m.