Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Indicate your response here. In your first paragraph, introduce the subject matter of your report, identify the data set you used, and provide a brief

Indicate your response here. In your first paragraph, introduce the subject matter of your report, identify the data set you used, and provide a brief summary of your experiences and results in creating and executing the functions in Codio. Use tables whenever you are including statistics and paragraphs and you are explaining their significance.Include all relevant citations in APA format (Author last name, Date). If you need to include a graph, include the image in a one-cell table, as follows:

Diagram : Name of the diagram

In your body paragraph(s), explain the importance of hypothesis tests and how they can be used in estimating population parameters. Illustrate the critical parameters that you employed in creating your Python script in Codio. Specify each and explain their importance for performing the hypothesis tests. Specifically, address each of the following: the null hypothesis, alternative hypothesis, level of significance, and associated critical value(s) for the hypothesis test. Identify the variable you used to perform the hypothesis test and the Python functions you used in your Python script in Codio. Use a table to include the test statistic and the probability value followed by paragraphs explaining their relevance. The table should look as follows:

Statistics

Value

Test Statistic

9.9999 (Remember to round off to appropriate decimal places.)

Probability Value

0.9999 (Remember to round off to appropriate decimal places.)

Table : Name of the Table

In your final paragraph(s), interpret the results of your analyses in terms of their statistical significance. Specifically, be sure to address the test statistic and the probability value of the hypothesis tests. Summarize the results of your statistical analyses and clearly communicate the ideas by translating relevant course concepts and terminology into plain language. Include all relevant citations in APA format (Author last name, Date).

References

Zybooks. (2016).Statistics with Python. Los Gatos, CA: Zybooks.

Make sure that you provide appropriate in-text citations in APA style, with the author's name and year of publication (Author last name, year). The textbook above is provided as an example and should be kept in the references section of this paper. Feel free to add other resources. To add credibility to your paper, remember to citeALLof the sources within the body of the paper, as well as in the References section at the end. References should be in alphabetical order by the author's last name.

image text in transcribedimage text in transcribed
:1:EJI:3E on t, ':|_ '_1 Milestonelpy Hap ####### Milestone 2 Python Script import pandas as pd import scipy.stats as st from snhu_MAT243 import prop_1samp_ztest from snhu_MAT243 import means_1samp_ttest from statsmodels.stats.proportion import proportions_ztest ##Step 1: Import your data set M production = pd.read_csv('Rice_Production.csv') ###### Step 2: Perform hypothesis test for the difference of two p # _________________________________________________________________ print ('Hypothesis test for the difference of two population propo production.loc[production['Month1 3]['Company1'].count() production.loc[production['Honth'] == l]['Company1'].count() (production.loc[production['Month'] == 3]['Company1'] ) 3o72e (production.loc[production['Month'] == 1]['Company1'] ) 372 counts = [x1, x2] n = [n1, n2] print (proportions_ztest(counts, n)) print (1') ####### Step 3: Perform hypothesis test for the difference of two rm print ('Hypothesis test for the difference of two population propo - production.loc[production['Month1 3]['Company2'].count() = production.loc[production['Honth'] == l]['Company2'].count() : - ' 'l l F'ytho n 'IZE 5. Part II: Hyp... [- I. Coll aps c If] 6. Part ll: Hypothesis Testing for the Difference of Tw... Uncomment lines 15 - 23 Replace ???DATASET,NAME??? with production Replace '???VARIAELE_NAHE???' with the variable 'Cohpany1 Replace ???Honthi??? with the appropriate value Replace ???Honth2??? with the appropriate value Replace ???Xvalue??? with the appropriate value Step 3: Perform hypothesis test for the difference of two population proportions (CompanyZ) It is claimed that the proportion with rice production over 209.500 cwt [CompanyZ > 209 500.0} is the same for the month of March {Month=3) and October (Month=10}. Test this claim using a hypothesis test at 1% level of signicance. In order to perform this function, you need to make the appropriate modifications to the provided script. In \f

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Algebra 2

Authors: Randall I. Charles, Basia Hall, Dan Kennedy, Laurie E Bass

Student Edition

0133500438, 978-0133500431

More Books

Students also viewed these Mathematics questions