Added some Exam 2 Review answers
This commit is contained in:
+2
-2
@@ -65,8 +65,8 @@
|
|||||||
<title>Exam Review</title>
|
<title>Exam Review</title>
|
||||||
|
|
||||||
<xi:include href="./review/Exam-1-Review.ptx"/>
|
<xi:include href="./review/Exam-1-Review.ptx"/>
|
||||||
<!-- <xi:include href="./review/Exam-2-Review.ptx"/>
|
<xi:include href="./review/Exam-2-Review.ptx"/>
|
||||||
<xi:include href="./review/Final-Exam-Review.ptx"/> -->
|
<!-- <xi:include href="./review/Final-Exam-Review.ptx"/> -->
|
||||||
|
|
||||||
</chapter>
|
</chapter>
|
||||||
|
|
||||||
|
|||||||
+308
-86
@@ -6,24 +6,26 @@
|
|||||||
<introduction>
|
<introduction>
|
||||||
<p>
|
<p>
|
||||||
Use the following problems to prepare for the exam.
|
Use the following problems to prepare for the exam.
|
||||||
There will be in-class review on Tuesday 3/31 and Thursday 4/2.
|
There will be in-class review on Tuesday 11/3 and Thursday 11/5.
|
||||||
Your recitation this week will also be exam review.
|
Your recitation this week will also be exam review.
|
||||||
</p>
|
</p>
|
||||||
</introduction>
|
</introduction>
|
||||||
|
|
||||||
|
|
||||||
<subsection>
|
<subsection>
|
||||||
<title>Allowed Materials</title>
|
<title>Allowed Materials</title>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
You will be allowed to use a scientific calculator (<em>not</em> a graphing calculator, <em>not</em> a calculator app on your phone).
|
You will be allowed to use a scientific calculator (<em>not</em> a
|
||||||
You may not share a calculator with another student; you must use your own calculator.
|
graphing calculator, <em>not</em> a calculator app on your phone).
|
||||||
|
You may not share a calculator with another student; you must use your own
|
||||||
|
calculator.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
You may bring a standard 3 in x 5 in index card with prepared notes.
|
You may bring a standard 3 in x 5 in index card with prepared notes.
|
||||||
You may use both sides of the notecard.
|
You may use both sides of the notecard.
|
||||||
You must put your full name in the top right corner of the card, and turn it in along with your exam.
|
You must put your full name in the top right corner of the card, and turn
|
||||||
|
it in along with your exam.
|
||||||
</p>
|
</p>
|
||||||
</subsection>
|
</subsection>
|
||||||
|
|
||||||
@@ -31,7 +33,82 @@
|
|||||||
<exercise>
|
<exercise>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Suppose a coin has probability 0.4 of coming up heads, and we flip the coin 100 times.
|
Suppose a coin has an unknown probability of coming up heads.
|
||||||
|
We perform the experiment in five independent trials, during which it
|
||||||
|
takes 4, 5, 4, 3, and 6 flips to see our first heads in each trial.
|
||||||
|
What is the maximum likelihood estimation for the probability of the
|
||||||
|
coin coming up heads on a flip?
|
||||||
|
</p>
|
||||||
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
<m>5/22 \approx 0.227</m>.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
|
</exercise>
|
||||||
|
|
||||||
|
<exercise>
|
||||||
|
<statement>
|
||||||
|
<p>
|
||||||
|
A particular store owner wants to approximate the average hourly rate
|
||||||
|
at which customers come into the store.
|
||||||
|
They observe 80 customers enter during a particular 4-hour shift.
|
||||||
|
What is the maximum likelihood estimation for the hourly customer
|
||||||
|
rate?
|
||||||
|
</p>
|
||||||
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
<m>20</m>.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
|
</exercise>
|
||||||
|
|
||||||
|
<exercise>
|
||||||
|
<statement>
|
||||||
|
<p>
|
||||||
|
A radioactive material emits particles at an unknown probabilistic
|
||||||
|
rate <m>\lambda</m> particles per minute.
|
||||||
|
We observe particles emitted at times 1.1, 1.7, 1.3, 2.2, 1.9, and 1.8
|
||||||
|
minutes.
|
||||||
|
Write the likelihood function <m>\mathcal{L}(\lambda)</m> based on
|
||||||
|
this data.
|
||||||
|
What is the maximum likelihood estimation for <m>\lambda</m>?
|
||||||
|
</p>
|
||||||
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
<m>\mathcal{L}(\lambda) = \left( \lambda e^{-1.1\lambda} \right) \left( \lambda e^{-1.7\lambda} \right) \left( \lambda e^{-1.3\lambda} \right) \left( \lambda e^{-2.2\lambda} \right) \left( \lambda e^{-1.9\lambda} \right) \left( \lambda e^{-1.8\lambda} \right)</m>.
|
||||||
|
The MLE is <m>0.6</m>.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
|
</exercise>
|
||||||
|
|
||||||
|
<exercise>
|
||||||
|
<statement>
|
||||||
|
<p>
|
||||||
|
Suppose a parameter <m>\theta</m> takes values in <m>[0, 1]</m> with
|
||||||
|
likelihood function
|
||||||
|
<m>\mathcal{L}(\theta) = \sqrt{\theta} - \theta^2</m>.
|
||||||
|
Find the maximum likelihood estimation of <m>\theta</m>.
|
||||||
|
</p>
|
||||||
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
<m>\left(\frac{1}{4}\right)^{2/3} \approx 0. 397</m>.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
|
</exercise>
|
||||||
|
|
||||||
|
<exercise>
|
||||||
|
<statement>
|
||||||
|
<p>
|
||||||
|
Suppose a coin has probability 0.4 of coming up heads, and we flip the
|
||||||
|
coin 100 times.
|
||||||
Let <m>S</m> be the number of heads.
|
Let <m>S</m> be the number of heads.
|
||||||
Estimate the probability that <m>34 \leq S \leq 44</m>.
|
Estimate the probability that <m>34 \leq S \leq 44</m>.
|
||||||
</p>
|
</p>
|
||||||
@@ -47,7 +124,8 @@
|
|||||||
<exercise>
|
<exercise>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Suppose a fair die is rolled 100 times, and let <m>m</m> be the average value of the rolls.
|
Suppose a fair die is rolled 100 times, and let <m>m</m> be the
|
||||||
|
average value of the rolls.
|
||||||
Estimate the probability that <m>3.45 \leq m \leq 3.55</m>.
|
Estimate the probability that <m>3.45 \leq m \leq 3.55</m>.
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
@@ -62,15 +140,17 @@
|
|||||||
<exercise>
|
<exercise>
|
||||||
<introduction>
|
<introduction>
|
||||||
<p>
|
<p>
|
||||||
The heights of men in the US have a mean of 69 in and a variance of about 9 in<m>^2</m>, and the heights of women in the US have a mean of 63.5 in with a variance of 6.25 in<m>^2</m>.
|
The heights of men in the US have a mean of 69 in and a variance of
|
||||||
|
about 9 in<m>^2</m>, and the heights of women in the US have a mean of
|
||||||
|
63.5 in with a variance of 6.25 in<m>^2</m>.
|
||||||
</p>
|
</p>
|
||||||
</introduction>
|
</introduction>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Suppose the heights of 30 men are sampled, and a sample mean <m>m</m> is taken.
|
Suppose the heights of 30 men are sampled, and a sample mean
|
||||||
|
<m>m</m> is taken.
|
||||||
Find the expected value and variance of <m>m</m>.
|
Find the expected value and variance of <m>m</m>.
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
@@ -82,7 +162,6 @@
|
|||||||
</answer>
|
</answer>
|
||||||
</task>
|
</task>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
@@ -97,17 +176,18 @@
|
|||||||
</answer>
|
</answer>
|
||||||
</task>
|
</task>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
If the sampled group was women, estimate the probability that <m>m \geq 64</m>.
|
If the sampled group was women, estimate the probability that
|
||||||
|
<m>m \geq 64</m>.
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<p>
|
<p>
|
||||||
<m>\E(m) = 63.5</m> and <m>\Var(m) \approx 0.208</m>. <m>\Pr(m \geq 64) \approx 1 - 0.8643 = 0.1357</m>.
|
<m>\E(m) = 63.5</m> and <m>\Var(m) \approx 0.208</m>.
|
||||||
|
<m>\Pr(m \geq 64) \approx 1 - 0.8643 = 0.1357</m>.
|
||||||
</p>
|
</p>
|
||||||
</answer>
|
</answer>
|
||||||
</task>
|
</task>
|
||||||
@@ -117,7 +197,8 @@
|
|||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Suppose we flip a coin 100 times and count 60 heads.
|
Suppose we flip a coin 100 times and count 60 heads.
|
||||||
Let <m>p</m> be the (unknown) probability that the coin comes up heads on a flip.
|
Let <m>p</m> be the (unknown) probability that the coin comes up heads
|
||||||
|
on a flip.
|
||||||
Give an approximate 95% confidence interval for the value of <m>p</m>.
|
Give an approximate 95% confidence interval for the value of <m>p</m>.
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
@@ -136,11 +217,11 @@
|
|||||||
</p>
|
</p>
|
||||||
</introduction>
|
</introduction>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Give a 95% confidence interval for the proportion <m>p</m> of left-handed people.
|
Give a 95% confidence interval for the proportion <m>p</m> of
|
||||||
|
left-handed people.
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
|
|
||||||
@@ -151,7 +232,6 @@
|
|||||||
</answer>
|
</answer>
|
||||||
</task>
|
</task>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
@@ -176,8 +256,7 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<title></title>
|
<title/>
|
||||||
|
|
||||||
<tabular halign="center">
|
<tabular halign="center">
|
||||||
<row header="yes" bottom="minor">
|
<row header="yes" bottom="minor">
|
||||||
<cell>mouse <m>i</m></cell>
|
<cell>mouse <m>i</m></cell>
|
||||||
@@ -214,7 +293,9 @@
|
|||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<p>
|
<p>
|
||||||
<!-- avg weight = 28 --> <!-- sum of squares = 4030 --> <!-- s^2 = 27.5 --> <!-- \sqrt{s^2/n} \approx 2.35 --> <m>[23.39, 32.61]</m>.
|
<!-- avg weight = 28 --> <!-- sum of squares = 4030 -->
|
||||||
|
<!-- s^2 = 27.5 --> <!-- \sqrt{s^2/n} \approx 2.35 -->
|
||||||
|
<m>[23.39, 32.61]</m>.
|
||||||
</p>
|
</p>
|
||||||
</answer>
|
</answer>
|
||||||
</exercise>
|
</exercise>
|
||||||
@@ -223,13 +304,13 @@
|
|||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
The heights of five plants are measured and recorded below.
|
The heights of five plants are measured and recorded below.
|
||||||
Give a 95% confidence interval around the sample mean for the heights of the plants.
|
Give a 95% confidence interval around the sample mean for the heights
|
||||||
|
of the plants.
|
||||||
(Pretend 5 measurements is large enough for the CLT to apply.)
|
(Pretend 5 measurements is large enough for the CLT to apply.)
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<title></title>
|
<title/>
|
||||||
|
|
||||||
<tabular halign="center">
|
<tabular halign="center">
|
||||||
<row header="yes" bottom="minor">
|
<row header="yes" bottom="minor">
|
||||||
<cell>plant <m>i</m></cell>
|
<cell>plant <m>i</m></cell>
|
||||||
@@ -266,7 +347,9 @@
|
|||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<p>
|
<p>
|
||||||
<!-- avg weight = 17 --> <!-- sum of squares = 1475 --> <!-- s^2 = 7.5 --> <!-- \sqrt{s^2/n} \approx 1.22 --> <m>[14.61, 19.39]</m>.
|
<!-- avg weight = 17 --> <!-- sum of squares = 1475 -->
|
||||||
|
<!-- s^2 = 7.5 --> <!-- \sqrt{s^2/n} \approx 1.22 -->
|
||||||
|
<m>[14.61, 19.39]</m>.
|
||||||
</p>
|
</p>
|
||||||
</answer>
|
</answer>
|
||||||
</exercise>
|
</exercise>
|
||||||
@@ -274,46 +357,73 @@
|
|||||||
<exercise>
|
<exercise>
|
||||||
<introduction>
|
<introduction>
|
||||||
<p>
|
<p>
|
||||||
In each of the following scenarios, determine whether we should use a 1-tailed test or a 2-tailed test.
|
In each of the following scenarios, determine whether we should use a
|
||||||
|
1-tailed test or a 2-tailed test.
|
||||||
</p>
|
</p>
|
||||||
</introduction>
|
</introduction>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
We have a coin which we've flipped many times, seeing an above-average number of heads.
|
We have a coin which we've flipped many times, seeing an
|
||||||
We suspect the coin comes up heads more often than a fair coin would.
|
above-average number of heads.
|
||||||
|
We suspect the coin comes up heads more often than a fair coin
|
||||||
|
would.
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
1-tailed.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
</task>
|
</task>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
We find a coin on the street and wonder whether or not it's a fair coin.
|
We find a coin on the street and wonder whether or not it's a fair
|
||||||
|
coin.
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
2-tailed.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
</task>
|
</task>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
We suspect there will be a difference in average weight of mice caught during the summer versus during the winter.
|
We suspect there will be a difference in average weight of mice
|
||||||
|
caught during the summer versus during the winter.
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
2-tailed.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
</task>
|
</task>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
In a medical study, a group of patients are gathered and the proportion experiencing particular symptoms is measured.
|
In a medical study, a group of patients are gathered and the
|
||||||
A new drug intended to eliminate these symptoms is administered, after which the proportion experiencing symptoms is measured again.
|
proportion experiencing particular symptoms is measured.
|
||||||
|
A new drug intended to eliminate these symptoms is administered,
|
||||||
|
after which the proportion experiencing symptoms is measured again.
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
1-tailed.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
</task>
|
</task>
|
||||||
</exercise>
|
</exercise>
|
||||||
|
|
||||||
@@ -321,82 +431,172 @@
|
|||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Suppose we find a coin and wonder whether it's fair.
|
Suppose we find a coin and wonder whether it's fair.
|
||||||
As a first test, we decide to flip the coin 200 times and count the number of heads.
|
As a first test, we decide to flip the coin 200 times and count the
|
||||||
If we see 112 heads, should we accept or reject the null hypothesis of a fair coin at a significance level of 0.05?
|
number of heads.
|
||||||
|
If we see 112 heads, should we accept or reject the null hypothesis of
|
||||||
|
a fair coin at a significance level of 0.05?
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
The <m>p</m>-value is <m>0.1032</m>, so we do not reject the null
|
||||||
|
hypothesis.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
</exercise>
|
</exercise>
|
||||||
|
|
||||||
<exercise>
|
<exercise>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Suppose we have a coin which we suspect comes up heads more often than a fair coin would.
|
Suppose we have a coin which we suspect comes up heads more often than
|
||||||
As a first test, we decide to flip the coin 200 times and count the number of heads.
|
a fair coin would.
|
||||||
If we see 112 heads, should we accept or reject the null hypothesis of a fair coin at a significance level of 0.05?
|
As a first test, we decide to flip the coin 200 times and count the
|
||||||
|
number of heads.
|
||||||
|
If we see 112 heads, should we accept or reject the null hypothesis of
|
||||||
|
a fair coin at a significance level of 0.05?
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
The <m>p</m>-value is <m>0.0516</m>, so we do not reject the null
|
||||||
|
hypothesis.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
</exercise>
|
</exercise>
|
||||||
|
|
||||||
<exercise>
|
<exercise>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Suppose we find a six-sided die and wonder whether it's fair.
|
Suppose we find a six-sided die and wonder whether it's fair.
|
||||||
As a first test, we decide to roll the die 100 times and count the number of times it comes up 1.
|
As a first test, we decide to roll the die 100 times and count the
|
||||||
If we roll 22 1's, should we accept or reject the null hypothesis of a fair die at a significance level of 0.05?
|
number of times it comes up 1.
|
||||||
|
If we roll 22 1's, should we accept or reject the null hypothesis of a
|
||||||
|
fair die at a significance level of 0.05?
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
The <m>p</m>-value is <m>0.1936</m>, so we do not reject the null
|
||||||
|
hypothesis.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
</exercise>
|
</exercise>
|
||||||
|
|
||||||
<exercise>
|
<exercise>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Suppose a particular plant when grown outdoors has an average height of 39 in with a variance of 20 in<m>^2</m>.
|
Suppose a particular plant when grown outdoors has an average height
|
||||||
We suspect that growing this plant in a greenhouse will increase its height.
|
of 39 in with a variance of 20 in<m>^2</m>.
|
||||||
A sample of 50 plants grown in a greenhouse has an average height of 40 in.
|
We suspect that growing this plant in a greenhouse will increase its
|
||||||
Is this significant enough data to reject the null hypothesis of equal means at the <m>p = 0.05</m> significance level?
|
height.
|
||||||
|
A sample of 50 plants grown in a greenhouse has an average height of
|
||||||
|
40 in.
|
||||||
|
Is this significant enough data to reject the null hypothesis of equal
|
||||||
|
means at the <m>p = 0.05</m> significance level?
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
The <m>p</m>-value is <m>0.0571</m>, so we do not reject the null
|
||||||
|
hypothesis.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
</exercise>
|
</exercise>
|
||||||
|
|
||||||
<exercise>
|
<exercise>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
A farmer is testing an experimental new plant fertilizer that is supposed to increase the weight of a particular apple variety.
|
A farmer is testing an experimental new plant fertilizer that is
|
||||||
A control sample of 25 apples grown using the usual fertilizer have a mean weight of 75 grams and a sample variance of 90 grams<m>^2</m> (for an individual apple).
|
supposed to increase the weight of a particular apple variety.
|
||||||
An experimental sample of 25 apples grown using the new fertilizer have a mean weight of 79 grams and a sample variance of 90 grams<m>^2</m>.
|
A control sample of 25 apples grown using the usual fertilizer have a
|
||||||
|
mean weight of 75 grams and a sample variance of 90 grams<m>^2</m>
|
||||||
|
(for an individual apple).
|
||||||
|
An experimental sample of 25 apples grown using the new fertilizer
|
||||||
|
have a mean weight of 79 grams and a sample variance of 90
|
||||||
|
grams<m>^2</m>.
|
||||||
|
Is this sufficient evidence to reject the null hypothesis that the new
|
||||||
|
plant fertilizer has no effect on the weights of the apples?
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
The <m>p</m>-value is <m>0.0681</m>, so we do not reject the null
|
||||||
|
hypothesis.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
</exercise>
|
</exercise>
|
||||||
|
|
||||||
<exercise>
|
<exercise>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
We have an established factory which produces coins that are close to fair.
|
We have an established factory which produces coins that are close to
|
||||||
We're opening up a second factory, and we'd like to ensure the machines are calibrated to produce coins which behave similarly to the ones produced in the established factory.
|
fair.
|
||||||
We pick one sample coin from each factory, and flip each sample coin 100 times.
|
We're opening up a second factory, and we'd like to ensure the
|
||||||
|
machines are calibrated to produce coins which behave similarly to the
|
||||||
|
ones produced in the established factory.
|
||||||
|
We pick one sample coin from each factory, and flip each sample coin
|
||||||
|
100 times.
|
||||||
The coin from the established factory flips 52 heads in 100 flips.
|
The coin from the established factory flips 52 heads in 100 flips.
|
||||||
The coin from the new factory flips 62 heads in 100 flips.
|
The coin from the new factory flips 62 heads in 100 flips.
|
||||||
Is this strong enough evidence to reject the null hypothesis that the two factories produce similar coins at a 0.05 significance level?
|
Is this strong enough evidence to reject the null hypothesis that the
|
||||||
|
two factories produce similar coins at a 0.05 significance level?
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
The <m>p</m>-value is <m>0.1738</m>, so we do not reject the null
|
||||||
|
hypothesis.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
</exercise>
|
</exercise>
|
||||||
|
|
||||||
<exercise>
|
<exercise>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Suppose we find a coin and wonder whether it's fair.
|
Suppose we find a coin and wonder whether it's fair.
|
||||||
As a first test, we decide to flip the coin 200 times and count the number of heads, <m>S</m>.
|
As a first test, we decide to flip the coin 200 times and count the
|
||||||
What values of <m>S</m> would be extreme enough to reject the null hypothesis of a fair coin? If the coin actually has a 0.6 probability of coming up heads, what is the power of this test?
|
number of heads, <m>S</m>.
|
||||||
|
What values of <m>S</m> would be extreme enough to reject the null
|
||||||
|
hypothesis of a fair coin?
|
||||||
|
If the coin actually has a <m>0.6</m> probability of coming up heads, what is
|
||||||
|
the power of this test?
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
(Note: Normal approximation was used for these calculations.)
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
We can reject the null hypothesis if we see greater than or equal to
|
||||||
|
<m>115</m> heads, or if we see less than or equal to <m>85</m> heads.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
If the coin has a <m>0.6</m> probability of coming up heads, then the
|
||||||
|
power of the test is <m>0.7852</m>.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
</exercise>
|
</exercise>
|
||||||
|
|
||||||
<exercise>
|
<exercise>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Suppose we have a coin which we suspect comes up heads more often than a fair coin would.
|
Suppose we have a coin which we suspect comes up heads more often than
|
||||||
As a first test, we decide to flip the coin 200 times and count the number of heads, <m>S</m>.
|
a fair coin would.
|
||||||
What values of <m>S</m> would be extreme enough to reject the null hypothesis of a fair coin? If the coin actually has a 0.6 probability of coming up heads, what is the power of this test?
|
As a first test, we decide to flip the coin 200 times and count the
|
||||||
|
number of heads, <m>S</m>.
|
||||||
|
What values of <m>S</m> would be extreme enough to reject the null
|
||||||
|
hypothesis of a fair coin?
|
||||||
|
If the coin actually has a 0.6 probability of coming up heads, what is
|
||||||
|
the power of this test?
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
</exercise>
|
</exercise>
|
||||||
@@ -405,45 +605,48 @@
|
|||||||
<introduction>
|
<introduction>
|
||||||
<p>
|
<p>
|
||||||
Suppose we find a six-sided die and wonder whether it's fair.
|
Suppose we find a six-sided die and wonder whether it's fair.
|
||||||
As a first test, we decide to roll the die 100 times and count the number of times it comes up 1.
|
As a first test, we decide to roll the die 100 times and count the
|
||||||
|
number of times it comes up 1.
|
||||||
The expected number of 1's is 50/3, with a variance of 125/9.
|
The expected number of 1's is 50/3, with a variance of 125/9.
|
||||||
</p>
|
</p>
|
||||||
</introduction>
|
</introduction>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Using a normal approximation, what is the smallest number of 1's greater than 50/3 that would be extreme enough to reject the null hypothesis of a fair die?
|
Using a normal approximation, what is the smallest number of 1's
|
||||||
|
greater than 50/3 that would be extreme enough to reject the null
|
||||||
|
hypothesis of a fair die?
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
</task>
|
</task>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Using a normal approximation, what is the greatest number of 1's less than 50/3 that would be extreme enough to reject the null hypothesis of a fair die?
|
Using a normal approximation, what is the greatest number of 1's
|
||||||
|
less than 50/3 that would be extreme enough to reject the null
|
||||||
|
hypothesis of a fair die?
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
</task>
|
</task>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Suppose that this die is weighted so that it rolls a 1 with probability 0.2.
|
Suppose that this die is weighted so that it rolls a 1 with
|
||||||
|
probability 0.2.
|
||||||
What would be the power of our test?
|
What would be the power of our test?
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
</task>
|
</task>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Suppose we roll the die 100 times and see 23 1's.
|
Suppose we roll the die 100 times and see 23 1's.
|
||||||
Use the maximum likelihood value for the probability of rolling a 1 to calculate the power of the test.
|
Use the maximum likelihood value for the probability of rolling a 1
|
||||||
|
to calculate the power of the test.
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
</task>
|
</task>
|
||||||
@@ -452,10 +655,17 @@
|
|||||||
<exercise>
|
<exercise>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Suppose a particular plant when grown outdoors has an average height of 39 in with a variance of 20 in<m>^2</m>.
|
Suppose a particular plant when grown outdoors has an average height
|
||||||
We suspect that growing this plant in a greenhouse will increase its height.
|
of 39 in with a variance of 20 in<m>^2</m>.
|
||||||
We take the average height of a sample of 50 plants grown in a greenhouse.
|
We suspect that growing this plant in a greenhouse will increase its
|
||||||
What is the minimum average height of this sample that would be extreme enough to reject the null hypothesis of equal means at the <m>p = 0.05</m> significance level? If the plants, when grown in a greenhouse, would truly have an average height of 41 in, what is the power of our test?
|
height.
|
||||||
|
We take the average height of a sample of 50 plants grown in a
|
||||||
|
greenhouse.
|
||||||
|
What is the minimum average height of this sample that would be
|
||||||
|
extreme enough to reject the null hypothesis of equal means at the
|
||||||
|
<m>p = 0.05</m> significance level?
|
||||||
|
If the plants, when grown in a greenhouse, would truly have an average
|
||||||
|
height of 41 in, what is the power of our test?
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
</exercise>
|
</exercise>
|
||||||
@@ -463,14 +673,15 @@
|
|||||||
<exercise>
|
<exercise>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
A store owner wants to determine how much shelf space to allocate to each of the drinks that they sell.
|
A store owner wants to determine how much shelf space to allocate to
|
||||||
|
each of the drinks that they sell.
|
||||||
They survey their customers about their favorite drinks.
|
They survey their customers about their favorite drinks.
|
||||||
Is the data below consistent with the null hypothesis that each type of drink will be equally preferred?
|
Is the data below consistent with the null hypothesis that each type
|
||||||
|
of drink will be equally preferred?
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<title></title>
|
<title/>
|
||||||
|
|
||||||
<tabular>
|
<tabular>
|
||||||
<row header="yes" bottom="minor">
|
<row header="yes" bottom="minor">
|
||||||
<cell halign="center">drink type</cell>
|
<cell halign="center">drink type</cell>
|
||||||
@@ -492,19 +703,27 @@
|
|||||||
</tabular>
|
</tabular>
|
||||||
</table>
|
</table>
|
||||||
</statement>
|
</statement>
|
||||||
|
|
||||||
|
<answer>
|
||||||
|
<p>
|
||||||
|
<m>\chi^2 = 8.5</m>, the critical value with 4 degrees of freedom is
|
||||||
|
<m>9.488</m>, so the data is consistent with the null hypothesis.
|
||||||
|
</p>
|
||||||
|
</answer>
|
||||||
</exercise>
|
</exercise>
|
||||||
|
|
||||||
<exercise>
|
<exercise>
|
||||||
<introduction>
|
<introduction>
|
||||||
<p>
|
<p>
|
||||||
A particular drug is administered in 100 independent trials.
|
A particular drug is administered in 100 independent trials.
|
||||||
In each trial, the drug is administered to four people, and we count how many respond to the drug.
|
In each trial, the drug is administered to four people, and we count
|
||||||
The table below shows how many trials have each different count of people who respond to the drug.
|
how many respond to the drug.
|
||||||
|
The table below shows how many trials have each different count of
|
||||||
|
people who respond to the drug.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<title></title>
|
<title/>
|
||||||
|
|
||||||
<tabular>
|
<tabular>
|
||||||
<row header="yes" bottom="minor">
|
<row header="yes" bottom="minor">
|
||||||
<cell halign="center"># who respond to drug</cell>
|
<cell halign="center"># who respond to drug</cell>
|
||||||
@@ -527,29 +746,32 @@
|
|||||||
</table>
|
</table>
|
||||||
</introduction>
|
</introduction>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Is the data consistent with a binomial distribution with parameter <m>\theta = 0.7</m>?
|
Is the data consistent with a binomial distribution with parameter
|
||||||
|
<m>p = 0.7</m>?
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
</task>
|
</task>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
What is the total number of people who have been administered the drug? What is the total number who have responded to it? What is the maximum likelihood estimation <m>\widehat{\theta}</m> for the probability that a person will respond to the drug?
|
What is the total number of people who have been administered the
|
||||||
|
drug?
|
||||||
|
What is the total number who have responded to it?
|
||||||
|
What is the maximum likelihood estimation for the probability
|
||||||
|
<m>p</m> that a person will respond to the drug?
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
</task>
|
</task>
|
||||||
|
|
||||||
|
|
||||||
<task>
|
<task>
|
||||||
<statement>
|
<statement>
|
||||||
<p>
|
<p>
|
||||||
Is the data consistent with a binomial distribution with the MLE value of <m>\widehat{\theta}</m>?
|
Is the data consistent with a binomial distribution with the MLE
|
||||||
|
value of <m>p</m>?
|
||||||
</p>
|
</p>
|
||||||
</statement>
|
</statement>
|
||||||
</task>
|
</task>
|
||||||
|
|||||||
Reference in New Issue
Block a user