Description Usage Arguments Value
View source: R/t_tests.R View source: R/t_tests.R
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
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
)
|
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 "!=" |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.