Quiz 4 Attempt 1

docx

School

Southern New Hampshire University *

*We aren’t endorsed by this school

Course

243

Subject

Computer Science

Date

Dec 6, 2023

Type

docx

Pages

3

Uploaded by Wahoobeauty

Report
Question 1 3 / 3 points In this course, the Python methods for hypothesis tests return two-tailed probability values. Suppose a one-tailed alternative hypothesis is used. How can you obtain a one-tailed probability value (P-Value)? Select one. Question options: Divide the result by 2 Multiply the result by 4 Divide the result by 4 Multiply the result by 2 Question 2 3 / 3 points Which of the following Python methods is used to perform a paired t-test for the difference in two population means? Select one. Question options: proportions_ztest from statsmodels module ttest_rel from scipy module paired_ttest from scipy module ttest_ind from scipy module Question 3 0 / 3 points The null and alternative hypotheses for a hypothesis test of the difference in two population means are:
Null Hypothesis: Alternative Hypothesis: Notice that the alternative hypothesis is a one-tailed test. Suppose ttest_ind method from scipy module is used to perform the test and the output is (3.25, 0.0043). What is the P-value for this hypothesis test? Select one. Question options: 3.25 0.00215 -3.25 0.0043 Question 4 0 / 3 points Which of the following Python methods is used to perform an unpaired t-test for the difference in two population means? Select one. Question options: paired_ttest from scipy module proportions_ztest from statsmodels module ttest_ind from scipy module Question 5 3 / 3 points What are the inputs to ttest_ind method in the scipy module? Select one. Question options:
dataframes of values from each sample and optional equal variance indicator z-score and the corresponding P-value null and alternative hypothesis values test statistic and the P-value
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help