Question: Question 1 (3 points) Which of the following Python functions is used to perform a hypothesis test for the difference in two population means when
Question 1 (3 points) Which of the following Python functions is used to perform a hypothesis test for the difference in two population means when summary data from samples is provided for the two populations?
Question 1 options: a) from snhu_MAT243 import means_1samp_ttest means_1samp_ttest(mean, std_dev, n, null_value, alternative)
b) import scipy.stats as st st.ttest_ind(data1, data2, equal_var=False)
c) from statsmodels.stats.proportion import proportions_ztest proportions_ztest(counts, n)
d) from scipy.stats import ttest_ind_from_stats as ttest ttest(mean1, stdev1, n1, mean2, stdev2, n2, equal_var=False)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
