knitr::opts_chunk$set(
  collapse = FALSE,
  comment = "#>"
)
library(Plottests)

"If you think without writing, you only think you're thinking." - Leslie Lamport

Ploting and performing a Hyphotesis test on the difference of two means using summary statistics (t-test)

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)

Ploting and performing a Hyphotesis test on the difference of two variances using summary statistics (F-test)

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.

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)

Ploting and performing a Hyphotesis test on the difference of two variances using summary statistics (F-test)

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.

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)


Zibetti/Plothtests documentation built on Feb. 5, 2021, 8:32 p.m.