nnt_anova | R Documentation |
Internal function. Not for users. Calculates Laupacis' adjusted and marginal NNT in one-way ANOVA. Takes a data-set suitable for a one-way ANOVA analysis and returns the estimated adjusted NNT(k) and the marginal NNT.
nnt_anova(response, x, cutoff, base, decrease, data)
response |
vector of the response variable (i.e., the dependent variable). |
x |
vector of the explanatory variable, i.e., the factor of different treatments. |
cutoff |
the MCID threshold. |
base |
control group of the x variable in the one-way ANOVA model. |
decrease |
TRUE or FALSE. Indicates whether the MCID change is decrease in the response variable. |
data |
data frame that contains the required variables for the computations. |
The estimated marginal and adjusted NNT with their corresponding 95 percent confidence intervals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.