plot_F_test: Plot F Test to Compare Two Variances

Description Usage Arguments Examples

View source: R/funcao_teste_hip_F.R

Description

Plot F Test to Compare Two Variance, the larger sample variance is always placed in the numerator.

Usage

1
2
plot_F_test(alpha = 0.05, alternative = "two.sided", df1, df2, v1, v2,
  ratio = 1, annotations = TRUE, color = 3)

Arguments

alpha

significance level for the critical limits

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 (default = 10)

df2

degrees of freedom for the sample 2 (default = 10)

v1

sample 1 variance (default = 1.5)

v2

sample 2 variance (default = 2.5)

ratio

the ratio of population variances under the null hypoyhesis (default = 1)

annotations

logical, show annotations in plot figure, TRUE ou FALSE (default = TRUE)

color

integer, color theme for plot, from 1 to 7 so far (default = 3)

Examples

1
2
3
4
5
6
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.