Description Usage Arguments Details Value See Also Examples
Fit a logit model of v.density on v.fever v.density with a exponential coefficient for the v.density
1 | logitexp(v.fever, v.density)
|
v.fever |
numeric vector of 0/1 indicating fever or equivalent |
v.density |
numeric vector of values >= 0 indicating the density |
logit(v.fever) ~ beta * (v. density ^ tau)
This corresponds to the model 3 describe by Smith, T., Schellenberg, J.A., Hayes, R., 1994. Attributable fraction estimates and case definitions for malaria in endemic areas. Stat Med 13, 2345–2358.
S3 object of class afmodel with 4 components: data, model, coefficients and the estimated attributable fraction.
1 2 3 4 5 6 7 | {
# Get the sample data
head(malaria_df1)
fit <- logitexp(malaria_df1$fever, malaria_df1$density)
fit
senspec(fit, c(1,100,500,1000,2000,4000,8000,16000, 32000,54000,100000))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.