two_samp_t_test_leq: Performs lower-tailed 2-sample t-test

Description Usage Arguments Value

View source: R/t_tests.R View source: R/t_tests.R

Description

Tests the alternate hypothesis that states the H0 value is less than H0_diff (usually 0), resulting in a lower-tailed 1-sided

Tests the alternate hypothesis that states the H0 value is greater than H0_diff (usually 0), resulting in a upper-tailed 1-sided

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
two_samp_t_test_leq(
  samp1_mean,
  samp2_mean,
  samp1_size,
  samp2_size,
  s1,
  s2,
  H0_diff = 0,
  alpha = 0.05,
  df = NULL
)

two_samp_t_test_leq(
  samp1_mean,
  samp2_mean,
  samp1_size,
  samp2_size,
  s1,
  s2,
  H0_diff = 0,
  alpha = 0.05,
  df = NULL
)

Arguments

samp1_mean

mean of the first group

samp2_mean

mean of the first group

samp1_size

mean of the first group

samp2_size

mean of the first group

s1

sample standard deviation of the first group

s2

sample standard deviation of the second group

H0_diff

H0 value that tests the difference, defaults to 0 (testing if two samples have equal means

alpha

significance level, or the probability of making a type 1 error. Defaults to 0.05

df

degrees of freedom, defaults to NULL (program will calculate it if not specified)

Ha

direction of the test. Accepts either ">", "<", or "!="

Value

data frame containing p-value, z-score, and result of the hypothesis test

data frame containing p-value, z-score, and result of the hypothesis test


azc242/collegestats documentation built on Dec. 31, 2020, 7:54 p.m.