Section 8 Lab Activity
docx
keyboard_arrow_up
School
Clemson University *
*We aren’t endorsed by this school
Course
3090
Subject
Statistics
Date
Jan 9, 2024
Type
docx
Pages
13
Uploaded by PrivateRock9572
STAT 3090 L
AB
8 C
ONFIDENCE
I
NTERVALS
F
ALL
2023
N
AME
:
O
BJECTIVES
:
Upon completion of this assignment, you should be able to:
Identify and verify the conditions needed to perform a confidence interval
Use the t-distribution to calculate probabilities and to find critical values
Calculate and interpret a confidence interval for a proportion, for the difference in two proportions and a mean.
Understand that confidence intervals vary from sample to sample and may miss the true population parameter
Realize how the changing sample size or the confidence level affects the width of a confidence interval
Determine the minimum sample size needed for estimating a population parameter
Part 1 (27 points):
1.
Contact Lenses (17 Points)
Delectable Delights is evaluating the vision benefits it offers to its employees. They wonder if they should add some additional benefits to assist with the purchase of contact lenses. According
to the Vision Council of America (VCA), 11% of American adults wear contact lenses. Delectable Delights wonders if the percentage of its employees who wear contact lenses is about the same as the percentage reported by VCA. Ken Ronald from Human Resources asks you to take a sample of size 150 from the employees at
Delectable Delights and calculate a 95% confidence interval for the proportion of employees who wear contact lenses. D
IRECTIONS
:
Please provide any appropriate output and/or screenshots from JMP. Instructions for creating several types of graphs or tables and statistics can be found on Canvas in the file JMP Instructions.docx
. Paste your answers and any output into this document.
(a)
Define the parameter of interest, p
, in the context of the problem. ( 2 points)
The true proportion of employees who wear contact lenses.
(b) To select the sample, you will use a JMP applet found by selecting Help >> Sample Index >> Teaching Scripts >> Interactive Teaching Modules >> Sampling Distribution of Sample Proportion
.
1
STAT 3090 L
AB
8 C
ONFIDENCE
I
NTERVALS
F
ALL
2023
Open the Sampling Distribution of Sample Proportion
applet. In the Population Characteristics section, change the population proportion to 0.11 and the category name to Contacts
. Under Demo Characteristics
, change the sample size to 150 and the number of samples to 1. Then click 'Draw Additional Samples' to draw 1 random samples of size n = 150. JMP will calculate the sample proportion of employees who wear contacts for you in the Sample Summary Table
. Place the results from the Sample Summary Table
from this one sample below. Be careful when reading the table as JMP sometimes puts the Row headings one row below the data. (3 points)
(c)
According to your output what is the value of the sample proportion of employees who wear contact lenses, ´
p
? (1 points)
= 0.11
p̂
(d) Have the conditions for calculating a confidence interval for a population proportion been met? Explain. Note – if they do not meet the conditions, repeat part (b) and take another sample. (2 points) n
= 150(0.11) = 17 >= 5 p̂
2
STAT 3090 L
AB
8 C
ONFIDENCE
I
NTERVALS
F
ALL
2023
n(1-
) =150(1- 0.11) = 134 >= 5
p̂
random sample
(e)
Use the statistic you reported in part (c) to calculate a 95% confidence interval for the
proportion of employees who wear contact lenses. Show your work by filling in the correct values into the formula. Round the lower and upper bounds of the interval to 2
decimal places. (3 points)
1-α = .95
+- Z a/2(sqrt(
(1-
)/n))
p̂
p̂
p̂
α = .05
α/2 = .025
0.11 +- 1.96 (sqrt(0.11(1-0.11)/150))
Z 0.025 = 1.96
=[.0599, 0.1601]
(f)
Interpret the 95% confidence interval you found in part (e) for Ken. (2 points)
we are 85 % sure that the proportion of employees who wear contact lenses lies between 0.0599 and 0.1601
(g) Does your confidence interval contain the 11% that was reported by the VCA? (1 pts)
yes, 11% falls within the confidence interval range
(h) There are approximately 1300 students taking STAT 3090. Approximately what proportion or percentage
of them will calculate a 95% confidence interval in part (e) that does not contain the value 11%? Note: This is an example of the interpretation of the Confidence Level found in your lecture guide. (1 pts)
approximately 5% of the confidence intervals will not contain the 11%
3
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
STAT 3090 L
AB
8 C
ONFIDENCE
I
NTERVALS
F
ALL
2023
(i)
Would the margin of error for a 95% confidence interval increase or decrease if we increased the sample size to 600 (assume the value of ´
p
is the same as part (c))? Why? (2 pts)
The margin of error would decrease because increasing the sample size decreases the confidence interval.
2. WebAssign questions 1,3 (10 points)
Part 2 (29 points):
3.
Medical malpractice lawsuits (10 points)
An insurance company wants to develop a better understanding of its claims paid out for medical malpractice lawsuits. The file medicalmalpractice.jmp contains information 110 claim payments made. We will study two variables described below: Private Attorney
Whether the claimant was represented by a private attorney Gender
Patient Gender
Let p
1 be the proportion of male claimants with a private attorney. Let p
2 be the proportion of female claimants with a private attorney.
a)
Create a contingency table using JMP.
Step 1: Open the file medicalmalpractice.jmp
. Select Analyze
>> Fit Y by X
. 4
STAT 3090 L
AB
8 C
ONFIDENCE
I
NTERVALS
F
ALL
2023
Step 2: Select Private Attorney
and click Y, Response
. Select Gender
and click X, Factor
. Click OK
.
Step 3: Copy and paste your Contingency Table below. You can use screenshot. (3 points)
5
STAT 3090 L
AB
8 C
ONFIDENCE
I
NTERVALS
F
ALL
2023
b)
Using the table found in a), what is the sample proportion ´
p
1
of male claimants with a private attorney? What is the sample proportion ´
p
2
of female claimants with a private attorney? (2 points)
the sample proportion ´
p
1
of male claiments with a private attorney is ´
p
1
== 35/50 = 0.7
the sample proportion ´
p
2
of male claiments with a private attorney is ´
p
2
= 39/60 = 0.65
6
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
STAT 3090 L
AB
8 C
ONFIDENCE
I
NTERVALS
F
ALL
2023
c)
Calculate
a 99%
confidence interval for the difference of the proportions of claimants with
a private attorney between genders. Set up the difference to be ´
p
1
−´
p
2
. Show your work by filling in the correct values into the formula. Round the lower and upper bounds of the interval to 2 decimal places. (3 points)
a= 0.01
z a/2 =2.575
the required 99 % confidence interval is (
´
p
1
- ´
p
2
) +- Za/2 sqrt(
p
¿
¿
´
¿
¿
(1-
´
p
1
)/n1) + (
1
−´
p
2
´
p
2
¿
)/n2))
= (0.7 - 0.65 =- 2.575 sqrt( (0.7(1-0.7)/50) + ((0.65(1- 0.65)/60))
= [ -0.18, 0.28]
d)
Interpret the confidence interval you found in part (c). (2 points)
4. Inspections (7 points)
The department of code enforcement of a county government issues permits to general contractors to work on residential projects. For each permit issued, the department inspects the
7
STAT 3090 L
AB
8 C
ONFIDENCE
I
NTERVALS
F
ALL
2023
result of the project and gives a “pass” or “fail” rating. A failed project must be re-inspected until it receives a pass rating. The department had been frustrated by the high cost of re-inspection and decided to publish the inspection records of all contractors on the web. It was hoped that public access to the records would lower the re-inspection rate. A year after the web access was made public, two samples of records were randomly selected. One sample was selected from the pool of records
before the web publication and one after. The proportion of projects that passed on the first inspection was noted for each sample. The results are summarized below. Let p
1 be the population of contractors’ records prior to the web publication.
Let p
2 be the population of contractors’ records after the web publication.
No public web access
n
1
=
500
´
p
1
=
0.67
Public web access
n
2
=
100
´
p
2
=
0.80
a)
Calculate
a 95%
confidence interval for the difference in the passing rate on first inspection between the two time periods. Set up the difference to be ´
p
1
−´
p
2
. Round the
lower and upper bounds of the interval to 2 decimal places. Remember to check the conditions for calculating a confidence interval for the difference in two proportions before calculating your confidence interval. (3 points)
b)
Interpret the confidence interval you found in part (a). (2 points)
95 %confident that the diffrence of true proportions of the opassing rate on first inspection before poublic web access and the true proportion of passing rate on first inspection after public web access is between -0.22 and -0.04
8
STAT 3090 L
AB
8 C
ONFIDENCE
I
NTERVALS
F
ALL
2023
c)
Using the results of your confidence interval for the difference in proportions, do you believe that publishing the inspection records of all contractors has resulted in an increase in the proportion of projects that pass on the first inspection? (2 points)
when ´
p
1
−´
p
2
= -0.22, ´
p
2
is more than ´
p
1
by .22
when ´
p
1
−´
p
2
= -0.04, ´
p
2
is more than ´
p
1
by
.04
we are 95% confident that p2 is more than p1 by .04 to .22
I belive that publishing the inspection records of all contractors has resulted in an increase in the proportion of projects that pass on the first inspection
1 point for yes
1 point for reasoning
5.
WebAssign questions 2,4,5 – 7 (12 pts)
Part 3 (44 points): 6.
Noodle Dilemma (AKA the Too Long Spell) (14 Points)
The process that makes the spaghetti noodles for Delectable Delights is supposed to produce noodles with an average length of 252.5 mm. Allison, the Quality Control Manager, is concerned that Machine #13 is not working properly and the noodles it produces are the wrong length (they seem to be too long). You are asked to calculate a 90% confidence interval for the average length of Machine #13’s noodles using the results of a random sample of 25 noodles.
The measurements from these 25 noodles can be found in the file The
Too Long Spell.jmp
(a)
Define the parameter of interest, μ
, in the context of the problem. (2 pts)
9
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
STAT 3090 L
AB
8 C
ONFIDENCE
I
NTERVALS
F
ALL
2023
u = the mean length of machine #13’s noodles
(b) Have the conditions for calculating a confidence interval for a population mean been met? Be careful. Your sample size is less than 30 thus you will need another way to verify whether or not you can consider the sampling distribution for the sample mean to be approximately normally distributed. Review page 185 in the lecture guide. The instructions on how to do this in JMP is found in the file JMP Normal Probability Plot Instructions
. When you answer this question, include the graphics provided by JMP. (5 pts)
random sample
n=25 <= 30 x
10
STAT 3090 L
AB
8 C
ONFIDENCE
I
NTERVALS
F
ALL
2023
(c)
The output from part (b) includes a Statistics Summary Table
which reports a 95% confidence interval for the average length of Machine #13’s noodles. To change this to a 90% confidence interval select the red triangle next to the Summary Statistics Table
and select Customize Summary Statistics.
At the bottom of the list in the drop-down menu change the confidence level from .95 to .90. Copy and paste the resulting Summary Statistics table showing the 90% confidence interval. (3 pts)
(d) Interpret the confidence interval you found in part (c). Round the lower and upper bounds of the interval to 1 decimal place. (2 pts)
We are 90 % sure that the mean length of machine # 13’s noodles is between 253.2 and 255.3
(e)
Using the confidence interval that you found, do you believe that Machine #13 is making noodles that have an average length different than the 252.5mm (do they appear too long)? (2 pts)
yes, i do believe that machine # 13 is making noodles with an average length diffrent than the
252.5 mm and they do appear too long
11
STAT 3090 L
AB
8 C
ONFIDENCE
I
NTERVALS
F
ALL
2023
Now there is something the employees of Delectable Delights do not know
. Arthur Weasley of the Ministry of Magic has twin sons, Fred and George, who are working on perfecting the Too Long Spell
for their joke shop. The spell would make things, well, too long. They wanted to test it out and used the spell on Machine #13 to see if the Too Long Spell
would cause the machine to make the spaghetti noodles too long.
It was a success! To be continued …
7.
Degree of Reading Power (10 Points)
There are many ways to measure the reading ability of children. Research designed to
improve reading performance is dependent on good measures of the outcomes. One
frequently-used test is the DRP, or Degree of Reading Power. It is known that the
distribution of DRP scores is normally distributed. The national mean is a score of 32. A
researcher wishes to calculate a 90% confidence interval for the mean score µ of all third-
graders in Henrico County Schools She administers the DRP to a random sample of 22
Henrico County third-grade students. Their scores are recorded in the following table:
40
26
39
17
42
18
24
43
46
27
19
47
19
26
37
34
15
45
41
39
31
46
(a)
Define the parameter of interest in the context of the problem. (2 pts)
(b) State and verify the conditions for the confidence interval. (2 pts)
random sample
normally distributed (in the question)
12
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
STAT 3090 L
AB
8 C
ONFIDENCE
I
NTERVALS
F
ALL
2023
(c) Compute the 90% confidence interval for the mean DRP score in Henrico County
Schools. Show your work by filling in the correct values into the formula. (Compare
your answers with a classmate to make sure you entered things correctly in your
calculator!) (4 pts)
x̅
= 32.773 C1 = 32 ^ .773 +- (1.721)(10.858/ sqrt(22))
s = 10.858
= (28.789, 36.757)
n = 22
σp = 21
+0.05, 21 = 1.721
(d)
Interpret the confidence interval. (2 pts)
32 lies within the confidence interval that 1 get so i do not agree with the researcher’s suspicion.
8.
WebAssign questions 8-11 (20 pts)
13
Related Documents
Recommended textbooks for you

Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill
Recommended textbooks for you
- Glencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw Hill

Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill