178. Independent t-Test
178.0.1. Independent
Compares the means of two independent samples.
- and : sample means
- and : sample variances
- and : sample sizes
Example
t_test_independent
from scipy import stats
rvs1 = stats.norm.rvs(loc=5, scale=10, size=500)
rvs2 = stats.norm.rvs(loc=5, scale=10, size=500)
stats.ttest_ind(rvs1, rvs2)