Description Usage Arguments Value
Given that the variances are equal, the degrees of freedom calculation is much simpler. This hypotest formula takes advantage of the it and performs a 2-sample t-test
1 | two_samp_test_equal_var(samp1, samp2, H0_diff = 0, Ha, alpha = 0.05)
|
samp1 |
data for the first sample |
samp2 |
data for the second sample |
H0_diff |
H0 value that tests the difference, defaults to 0 (testing if two samples have equal means |
Ha |
direction of the test. Accepts either ">", "<", or "!=" |
alpha |
significance level, or the probability of making a type 1 error. Defaults to 0.05 |
data frame containing p-value and result of the hypothesis test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.