knitr::opts_chunk$set( collapse = FALSE, comment = "#>" )
library(Plottests)
"If you think without writing, you only think you're thinking." - Leslie Lamport
To perform and plot the hyphotesis on the difference of two means just fill the function parameters with the observed statistics and details about your alternative hyphotesis as well with the significance level (alpha).
plot_T_test(alpha = 0.05, alternative = "two.sided", var.equal = "equal", n1 = 10, m1 = 2.92, v1 = 1.5, n2 = 20, m2 = 4.20, v2 = 1.7, delta0 = 0, annotations = TRUE, color = 3)
To perform and plot the hyphotesis on the difference of two variances just fill the function parameters with the observed statistics and details about your alternative hyphotesis as well with the significance level (alpha).
Plot F Test to Compare Two Variance, the larger sample variance is always placed in the numerator.
alternative - a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less".
df1 - degrees of freedom for the sample 1 (n1-1)
plot_F_test(alpha = 0.05, alternative = "two.sided", df1 = 10, df2 = 10, v1 = 1.5, v2 = 2.5, ratio = 1, annotations = TRUE, color = 3)
To perform and plot the hyphotesis on the difference of two variances just fill the function parameters with the observed statistics and details about your alternative hyphotesis as well with the significance level (alpha).
Plot F Test to Compare Two Variance, the larger sample variance is always placed in the numerator.
alternative - a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less".
df1 - degrees of freedom for the sample 1 (n1-1)
plot_F_test(alpha = 0.05, alternative = "two.sided", df1 = 10, df2 = 10, v1 = 1.5, v2 = 2.5, ratio = 1, annotations = TRUE, color = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.