Description Usage Arguments Details Value Author(s) References Examples
Estimates the subject components of the mitigated fraction.
1 |
formula |
Formula of the form |
data |
Data frame |
compare |
Text vector stating the factor levels -
|
The mitigated fraction is an estimator that quantifies an
intervention's effect on reducing the severity of a
condition. Since its units are on the probability scale,
it is often a good idea to accompany it with an estimator
on the original scale of measurement.
The subject
components are the individual contributions of the
treated subjects to MF, which is the average of
the subject components.
a mfcomponents-class
data object
David Siev david.siev@aphis.usda.gov
Siev D. (2005). An estimator of intervention effect on disease severity. Journal of Modern Applied Statistical Methods. 4:500–508
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | x <- MFSubj(lesion ~ group, calflung)
x
# MF = 0.44 comparing vac to con
#
# MF Subject Components
#
# mf.j freq min.y max.y
# 1.00 6 0.000030 0.00970
# 0.84 1 0.012500 0.01250
# 0.76 3 0.016650 0.02030
# 0.68 6 0.023250 0.03190
# 0.04 1 0.132100 0.13210
# -0.04 3 0.144575 0.16325
# -0.20 2 0.210000 0.21925
# -0.36 1 0.292000 0.29200
# -0.52 1 0.356500 0.35650
# -0.84 1 0.461500 0.46150
mean(x$subj[,'mf.j'])
# [1] 0.44
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.