Chapter 4 quiz - 4-5 Quiz_ Python Functions

docx

School

Southern New Hampshire University *

*We aren’t endorsed by this school

Course

243

Subject

Mathematics

Date

Jan 9, 2024

Type

docx

Pages

5

Uploaded by EarlSteel9150

Report
Question 1 3 / 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 two-tailed test. Suppose ttest_ind method from scipy module is used to perform the test and the output is (-1.99, 0.0512). What is the P-value for this hypothesis test?
Select one. Question options: 0.0512 1.99 -1.99 0.0256 Question 2 3 / 3 points Which of the following Python methods is used to perform a hypothesis test for the difference in two population proportions? Select one. Question options: prop_hypothesis_test from statsmodels module prop_1samp_hypothesistest from pandas module proportions_ztest from statsmodels module prop_1samp_ztest from numpy module Question 3 3 / 3 points What are the inputs to ttest_ind method in the scipy module? Select one.
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
Question options: dataframes of values from each sample and optional equal variance indicator null and alternative hypothesis values z-score and the corresponding P-value test statistic and the P-value Question 4 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 2 Multiply the result by 4 Divide the result by 4 Question 5 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: ttest_rel from scipy module ttest_ind from scipy module proportions_ztest from statsmodels module paired_ttest from scipy module