Graded HW 4 S22 (1) (AutoRecovered)
docx
keyboard_arrow_up
School
Seton Hall University *
*We aren’t endorsed by this school
Course
1203
Subject
Mathematics
Date
Jan 9, 2024
Type
docx
Pages
7
Uploaded by BaronHamsterPerson569
Melanie Tejeda
MATH1203
Graded HW 4
Spring 2022
In class we’ve talked about confidence intervals and significance tests being two sides of the same coin.
The goal of this assignment is to better understand this relationship by:
Finding confidence intervals by hand
Completing significance tests by hand
Using StatCrunch to find confidence intervals and run significance tests
Interpreting and comparing the results of significance tests and confidence intervals
1.
For this question we will revisit the example of the 2010 gubernatorial race in California that was
discussed in class and that you worked on in HW3.
In this race, the exit poll on which TV networks
relied for their projections on election night found that, after sampling 3,889 voters, 53.1% said they
voted for Democrat Jerry Brown over Republican Meg Whitman.
a.
(6pts)
By hand
, find a 95% confidence interval for the proportion of the population who
voted for Brown.
Show all of your work, and clearly state:
Your value of
^
π
n = 2065/3889=.531
Your value of
z
Z= 1.96
The standard error (rounded to 3 decimal places)
= .05,
.5/√3889= .008
The confidence interval and its interpretation
.531 +/- 1.96 (.008)
.531 + 0.016= .547
.531 – 0.016= .515
We can be 95% confident that the proportion who voted for Brown lies between .515 and .547
b.
(3pts)
Using StatCrunch
, find a 95% confidence interval for the proportion of the
population who voted for Brown.
Insert an image of the output.
One sample proportion summary confidence interval:
p : Proportion of successes
Method: Standard-Wald
95% confidence interval results:
ProportionCountTotalSample Prop.
Std. Err.
L. Limit
U. Limit
p
2065 3889
0.530984830.00800231290.515300580.54666907
c.
(10pts)
By hand,
conduct a significance test to see if there is evidence to support the research
hypothesis that the proportion of the population who voted for Brown is greater than 50%.
Show all five parts of the significance test
Show all of your calculations.
Include an image of the calculator results from StatCrunch in step 4, finding the
P
-
value.
- Assumptions: The assumption can be made that this is categorical data that used
randomization to be gathered, and the sample proportion is large enough
- Hypothesis: The proportion of the population who voted for Brown is greater than
50%, pie is greater than .5
- Test statistic = population proportion = 3.875
- P-value: 0.0005
One sample proportion summary hypothesis test:
p : Proportion of successes
H
0
: p = 0.5
H
A
: p > 0.5
Hypothesis test results:
ProportionCountTotalSample Prop.
Std. Err.
Z-Stat
P-value
p
2065 3889
0.530984830.00801772273.8645424<0.0001
- Conclusions: Since the p-value is smaller than the alpha, the null hypothesis is
rejected. We have enough evidence to support the alternative hypothesis, so Brown got more than
50% of the vote.
d.
(3pts)
Using StatCrunch
, conduct a significance test to see if there is evidence to support the
research hypothesis that the proportion of the population who voted for Brown is greater than
50%.
Insert an image of the output.
One sample proportion summary hypothesis test:
p : Proportion of successes
H
0
: p = 0.5
H
A
: p > 0.5
Hypothesis test results:
ProportionCountTotalSample Prop.
Std. Err.
Z-Stat
P-value
p
2065 3889
0.530984830.00801772273.8645424<0.0001
e.
(4pts)
The media used the results of this exit poll to predict a win for Brown.
Based on what
you’ve seen in this exercise
, answer the questions:
-
If only half the population voted for Brown; would it then be surprising that 53.1% of the
sampled individuals voted for him?
No, it would not be surprising that 53.1% of the sampled individuals voted for him because our
hypothesis was that 50% voted for him, so 53.1 is close enough to 50%, meaning that the result
from the sampled individuals matches.
- Does it make sense that the race was called for Brown?
Explain your thoughts using
at least 3 sentences.
It does not make sense that the race was called for Brown. This is because this was selected at
random so there is no definite number.
2.
In HW3, you also investigated the 2014 gubernatorial election in Florida, where, in an exit poll of
2696 voters, 50.5% said they voted for Rick Scott and 49.5% said they voted for Charlie Crist.
a.
(6pts)
By hand
, find a 95% confidence interval for the proportion of the population who
voted for Scott.
Show all of your work, and clearly state:
Your value of
^
π
= (1361/2696)= 50.5
Your value of
z
Z
= 1.96
The standard error (rounded to 4 decimal places)
.0096
The confidence interval and its interpretation
. 505 +/-1.96(.0096)
. 505+ 0.019= 0.523
. 505 – 0.019= 0.485
Interpretation: We can be 95% confident that the proportion who voted for Scott lies between .485
and .523
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
b.
(3pts)
Using StatCrunch
, find a 95% confidence interval for the proportion of the
population who voted for Scott.
Insert an image of the output.
One sample proportion summary confidence interval:
p : Proportion of successes
Method: Standard-Wald
95% confidence interval results:
ProportionCountTotalSample Prop.
Std. Err.
L. Limit
U. Limit
p
1361 2696
0.504821960.00962919240.485949090.52369483
c.
(10pts)
By hand,
conduct a significance test to see if there is evidence to support the research
hypothesis that the proportion of the population who voted for Scott is greater than 50%.
Show all five parts of the significance test
Show all of your calculations.
Include an image of the calculator results from StatCrunch in step 4, finding the
P
-
value.
- Assumptions; The data is categorical, gathered via randomization, and the sample size is large
enough
- Hypothesis: The proportion of the population that voted for Scott is greater than 50%
- Test stats: z= 0.500
- P value: 0.3085
One sample proportion summary hypothesis test:
p : Proportion of successes
H
0
: p = 0.5
H
A
: p > 0.5
Hypothesis test results:
ProportionCountTotalSample Prop.
Std. Err.
Z-Stat
P-value
p
1361 2696
0.504821960.00962964020.50074129 0.3083
Conclusions: The p-value Is smaller than a so therefore, the null hypothesis can be rejected.
d.
(3pts)
Using StatCrunch
, conduct a significance test to see if there is evidence to support the
research hypothesis that the proportion of the population who voted for Scott is greater than 50%.
Insert an image of the output.
One sample proportion summary hypothesis test:
p : Proportion of successes
H
0
: p = 0.5
H
A
: p > 0.5
Hypothesis test results:
ProportionCountTotalSample Prop.
Std. Err.
Z-Stat
P-value
p
1361 2696
0.504821960.00962964020.50074129 0.3083
e.
(4pts)
The media would have used the results of this exit poll to decide if they could predict a
win for Scott.
Based on what you’ve seen in this exercise
, answer the questions:
- If only half the population voted for Scott; would it then be surprising that 50.5% of the
sampled individuals voted for him?
No, it would not be surprising that 50.5% of the sampled individuals voted for him since that
amount and the 48 found in the confidence interval is already close to 50% of the population that
voted for him.
- Should the race have been called for Scott based on this exit poll?
Explain your thoughts using
at least 3 sentences
.
- While it is unclear who the winner is based on this exit poll, he does have .5% more than another
candidate but it is still unclear if the race should be called for him. Therefore, it should not since
we do not know if he won based on this poll.
3.
For this question you will need your GSS data.
There are instructions for finding a confidence
interval
with data
and conducting a significance test
with data
in the “Working with StatCrunch” file
posted in Teams.
a.
(4pts)
In StatCrunch, find a 99% confidence interval for the mean for the variable “Ideal
number of children”.
Insert an image of the output
Interpret the output.
One sample T confidence interval:
μ : Mean of variable
99% confidence interval results:
Variable
Sample Mean
Std. Err.
DF
L. Limit
U. Limit
IDEAL NUMBER OF CHILDREN
2.49336870.02616128711302.42586772.5608697
Interpretation: Approximately, the ideal number of children is 2 so we can be 99%
confident that the true proportion of the population wants a minimum of 2.4 or 2 children and
maximum of 2.6 or 3 children.
b.
(6pts)
In StatCrunch, run a significance test for the mean for this same variable, letting
μ
0
=
¿
2, 2.5, and then 3, in each case selecting “
≠
” in the alternative hypothesis.
Insert images of the
three
different output windows
Interpret the
P
-value (state your conclusion) in each case
.
One sample T hypothesis test:
μ : Mean of variable
H
0
: μ = 2
H
A
: μ ≠ 2
Hypothesis test results:
Variable
Sample Mean
Std. Err.
DF
T-Stat
P-value
IDEAL NUMBER OF CHILDREN
2.49336870.026161287113018.858732<0.0001
-
Interpretation: The p-value is much less than 1 so we can say that the mean is not
accurate, and it can be rejected.
Input 2:
One sample T hypothesis test:
μ : Mean of variable
H
0
: μ = 2.5
H
A
: μ ≠ 2.5
Hypothesis test results:
Variable
Sample Mean
Std. Err.
DF
T-Stat
P-value
IDEAL NUMBER OF CHILDREN
2.49336870.0261612871130-0.25347758 0.7999
-
Interpretation: Even though the p-value is now closer to 1 than before, the mean is still
inaccurate in comparison so it must be rejected.
Input 3:
One sample T hypothesis test:
μ : Mean of variable
H
0
: μ = 3
H
A
: μ ≠ 3
Hypothesis test results:
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
Variable
Sample Mean
Std. Err.
DF
T-Stat
P-value
IDEAL NUMBER OF CHILDREN
2.49336870.0261612871130-19.365687<0.0001
- Interpretation: Lastly, the p-value is also less than 1 here so the mean is proved inaccurate
again.
c.
(3pts)
In this setting, does the confidence interval approach or the significance test approach
seem
more useful in predicting the population parameter?
Explain your thoughts using
at least 3 sentences
.
-
Based on this setting, I would say that the confidence interval approach is a lot more
successful and helpful when it comes to predicting the population parameter. It was a lot
harder to find the outcome using the significance test approach since all of them were
rejected just because they were not higher than one, so it made it difficult to find out the
ideal number of children. However, when using the confidence interval approach, we were
able to interpret and see right away the upper and lower limits of 99% of the data, and we
were able to know the ideal number of children, therefore it is the better approach.