Question
Load the gpa.csv data set. Find the number of students with a gpa greater than the user input value. Find the total number of students.
Load the gpa.csv data set. Find the number of students with a gpa greater than the user input value. Find the total number of students. Perform a z-test for the user input expected proportion. Determine if the hypothesis that the actual proportion is different from the expected proportion should be rejected at the alpha = 0.01 significance level.
Ex: When the input is:
0.5
3.0
the ouput is:
(-0.16909988539863083, 0.8657180750703445) The two-tailed p-value, 0.8657180750703445 , is greater than than . Thus, insufficient evidence exists to support the hypothesis that the proportion is different from 0.5
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started