MFmp | R Documentation |
Estimates mitigated fraction from matched pairs.
MFmp(
formula = NULL,
data = NULL,
compare = c("con", "vac"),
x = NULL,
alpha = 0.05,
df = NA,
tdist = TRUE
)
formula |
Formula of the form |
data |
Data frame |
compare |
Text vector stating the factor levels - |
x |
Trinomial vector |
alpha |
Complement of the confidence level. |
df |
Degrees of freedom. Default N-2 |
tdist |
Use quantiles of t or Gaussian distribution for confidence interval? Default t distribution. |
Estimates MF from matched pairs by the difference of multinomial
fractions (\Sigma I(x<y) - \Sigma I(x > y)) / N
. The trinomial vector
is \{\Sigma I(x<y), \Sigma I(x = y), \Sigma I(x > y)\}
a mfmp data object
upper confidence interval is truncated to 1; lower confidence interval is truncated to -1. Point estimate of 1.0 indicates complete separation.
MF-package
Siev D. (2005). An estimator of intervention effect on disease severity. Journal of Modern Applied Statistical Methods. 4:500–508
mfmp
MFmp(les ~ tx + cluster(cage), mlesions, compare = c("con", "vac"))
MFmp(x = c(12, 12, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.