Description Usage Arguments Value
This function accepts up to eight parameters for use with the parameteric physical activity model, or two vectors of quantiles for the non-parametric model. The function returns the population attributable fraction.
1 2 3 4 5 6 | CRA.function(meanlog.baseline = log(5), sdlog.baseline = 1,
participation.baseline = 0.5, meanlog.scenario = log(5),
sdlog.scenario = 1, participation.scenario = 0.5,
Tc.method = "Multinomial", author = "Arem",
income = "Upper-middle", mean.Tc = 10, sd.Tc = 1, n = 10000,
B = 10000, P, Q, R = R.arem.fun)
|
meanlog.baseline |
Mean of exposure in baseline (log-scale, parameteric model) |
sdlog.baseline |
Standard deviation of exposure in baseline (log-scale, parameteric model) |
participation.baseline |
Participation, or proportion of active travelers in baseline (pi1) |
meanlog.scenario |
Mean of exposure in scenario (log-scale, parameteric model) |
sdlog.scenario |
Standard deviation of exposure in scenario (log-scale, parameteric model) |
participation.scenario |
Participation, or proportion of active travelers in scenario (pi1) |
n |
Number of quantiles (parametric) |
B |
Sample size (parametric model) |
P |
Quantiles of exposure in baseline (non-parametric model) |
Q |
Quantiles of exposure in scenario (non-parametric model) |
R |
Relative risk function in terms of total exposure (physical activity) |
meanlog.leisure |
Mean of exposure in leisure physical activity (log-scale, parameteric model) |
sdlog.leisure |
Standard deviation of leisure physical activity in baseline (log-scale, parameteric model) |
The population attributable fraction
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.