SlideShare a Scribd company logo
1 of 13
Math 104 Fall '14Lab Assignment #4
Math 104 Fall '14Lab Assignment #4
[1] Lipitor is a drug used to control cholesterol. In clinical
trials of Lipitor, 94 subjects were treated with Lipitor and 270
subjects were given a placebo. Among those who were treated
with Lipitor, 7 developed infections. Among those given a
placebo, 27 developed infections. Use a 0.05 significance level
to test the claim that the rate of infections was the same for
those treated with Lipitor and those given a placebo.
Z Test for Differences in Two Proportions
Data
Hypothesized Difference
0
Level of Significance
0.05
Group 1
Number of Items of Interest
7
Sample Size
94
Group 2
Number of Items of Interest
27
Sample Size
270
Intermediate Calculations
Group 1 Proportion
0.074468085
Group 2 Proportion
0.1
Difference in Two Proportions
-0.02553191
Average Proportion
0.0934
Z Test Statistic
-0.7326
Two-Tail Test
Lower Critical Value
-1.9600
Upper Critical Value
1.9600
p-Value
0.4638
Do not reject the null hypothesis
[2] Simple random samples of high-interest (5.36%) mortgages
and low-interest (3.77%) mortgage were obtained. For the 40
high-interest mortgages, the borrowers had a mean FICO credit
score of 594.8 and standard deviation of 12.2. For the 40 low-
interest mortgages, the borrowers had a mean FICO credit score
of 785.2 and standard deviation of 16.3.
a) Use a 0.01 significance level to test the claim that the mean
FICO score of borrowers with high-interest mortgage is lower
than the mean FICO score of borrowers with low-interest
mortgage.
b) Does the FICO credit rating score appear to affect mortgage
payments? If so, how?
Math 104 Fall '14Lab Assignment #4
The test of interest here is,
As here the sample size for both the samples are large enough
so we can assume the normality using CLT and thus a Z-test
would be appropriate. And the hypotheses also show that it’s a
left tail test.
The output is given below,
Z Test for Differences in Two Means
Data
Hypothesized Difference
0
Level of Significance
0.01
Population 1 Sample
Sample Size
40
Sample Mean
594.8
Population Standard Deviation
12.2
Population 2 Sample
Sample Size
40
Sample Mean
785.2
Population Standard Deviation
16.3
Intermediate Calculations
Difference in Sample Means
-190.4
Standard Error of the Difference in Means
3.2192
Z Test Statistic
-59.1451
Lower-Tail Test
Lower Critical Value
-2.3263
p-Value
0.0000
Reject the null hypothesis
Here the lower p-value suggests that we should reject the null
hypothesis and conclude that the mean FICO score of borrowers
with high-interest mortgage is lower than the mean FICO score
of borrowers with low-interest mortgage.
Note that the above analysis showed that the interest rate is
higher for the group with lower FICO scores. Thus the FICO
credit rating scores appear to affect mortgage payments. If the
FICO score is high then the interest rate is expected to be low
so the mortgage payments would be low. And for low FICO
score the opposite is expected to be observed.[3] A random
sample of the birth weights of 186 babies has a mean of 3103g
and a standard deviation of 696g (based on data from
“Cognitive Outcomes of Preschool Children with Prenatal
Cocaine Exposure,” by Singer et al., Journal of the American
Medical Association, Vol. 291, No. 20). These babies were
born to mothers who did not use cocaine during their
pregnancies. Further, a random sample of the birth weights of
190 babies born to mothers who used cocaine during their
pregnancies has a mean of 2700g and a standard deviation of
645g.
a) The birth weights of babies are known normally distributed.
Use a 0.05 significance level to test the claim that both samples
are from populations having the same standard deviation.
b) Using your finding in (a), construct a 95% confidence
interval estimate of the difference between the mean birth
weight of a baby born to mothers who did not use cocaine and
that of a baby born to mothers who used cocaine during their
pregnancies.
c) Using your finding in (b), does cocaine use appear to affect
the birth weight of a baby? Substantiate you conclusion.
a) Here we need to test for the equality of the standard
deviation (same as variance) so the hypotheses of interest are,
As this is two sample test for standard deviation or variance so
the test can be performed using a F test. The obtained output is
given below.
F Test for Differences in Two Variances
Data
Level of Significance
0.05
Larger-Variance Sample
Sample Size
186
Sample Variance
484416
Smaller-Variance Sample
Sample Size
190
Sample Variance
416025
Intermediate Calculations
F Test Statistic
1.1644
Population 1 Sample Degrees of Freedom
185
Population 2 Sample Degrees of Freedom
189
Two-Tail Test
Upper Critical Value
1.3329
p-Value
0.2986
Do not reject the null hypothesis
Here the p-value is larger than the significance level so we are
failing to reject the null hypothesis and concluding that the data
does not suggest that both samples are from populations having
different standard deviation.
b) Here we found out that the variations are not different in two
groups so we should use a pooled variance t-test.
Pooled-Variance t Test for the Difference Between Two Means
(assumes equal population variances)
Data
Hypothesized Difference
0
Level of Significance
0.05
Population 1 Sample
Sample Size
186
Sample Mean
3103
Sample Standard Deviation
696
Population 2 Sample
Sample Size
190
Sample Mean
2700
Sample Standard Deviation
645
Intermediate Calculations
Population 1 Sample Degrees of Freedom
185
Population 2 Sample Degrees of Freedom
189
Total Degrees of Freedom
374
Pooled Variance
449854.7727
Standard Error
69.1826
Difference in Sample Means
403.0000
t Test Statistic
5.8252
Two-Tail Test
Lower Critical Value
-1.9663
Upper Critical Value
1.9663
p-Value
0.0000
Reject the null hypothesis
Confidence Interval Estimate
for the Difference Between Two Means
Data
Confidence Level
95%
Intermediate Calculations
Degrees of Freedom
374
t Value
1.9663
Interval Half Width
136.0356
Confidence Interval
Interval Lower Limit
266.9644
Interval Upper Limit
539.0356
From the values from above table,
95% confidence interval for difference =
c) From the above calculated confidence interval we can see
that the confidence interval does not contain the value 0. So
based on the findings we can conclude that cocaine use appears
to affect the birth weight of a baby.[4] A large discount chain
compares the performance if its credit managers in Ohio and
Illinois by comparing the mean dollars amounts owed by
customers with delinquent charge accounts in these two states.
Here a small mean dollar amount owed is desirable because it
indicates that bad credit risks are not being extended large
amounts of credit. Two independent, random samples of
delinquent accounts are selected from the populations of
delinquent accounts in Ohio and Illinois, respectively. The first
sample, which consists of 15 randomly selected delinquent
accounts in Ohio, givens a mean dollar amount of $524 with a
standard deviation of $38. The second sample, which consists
of 20 randomly selected delinquent accounts in Illinois, gives a
mean dollar amount of $473 with a standard deviation of $22.
a) Assuming that the normality assumption, test to determine if
Here we need to test for the equality of the variance so the
hypotheses of interest are,
As this is two sample test for variance and normality
assumption is valid so the test can be performed using a F test.
The obtained output is given below.
F Test for Differences in Two Variances
Data
Level of Significance
0.05
Larger-Variance Sample
Sample Size
15
Sample Variance
1444
Smaller-Variance Sample
Sample Size
20
Sample Variance
484
Intermediate Calculations
F Test Statistic
2.9835
Population 1 Sample Degrees of Freedom
14
Population 2 Sample Degrees of Freedom
19
Two-Tail Test
Upper Critical Value
2.6469
p-Value
0.0283
Reject the null hypothesis
Here the p-value is smaller than the significance level so we are
rejecting the null hypothesis and concluding that the data
suggests that the population variances are not equal.
population mean dollar amounts owed by consumers with
delinquent charge accounts in Ohio and Illinois.
Here the population variances are not equal so we should run a
separate variance t test. The results are as follows,
Separate-Variances t Test for the Difference Between Two
Means
(assumes unequal population variances)
Data
Hypothesized Difference
0
Level of Significance
0.05
Population 1 Sample
Sample Size
15
Sample Mean
524
Sample Standard Deviation
38.0000
Population 2 Sample
Sample Size
20
Sample Mean
473
Sample Standard Deviation
22.0000
Intermediate Calculations
Numerator of Degrees of Freedom
14512.2178
Denominator of Degrees of Freedom
692.7711
Total Degrees of Freedom
20.9481
Degrees of Freedom
20
Standard Error
10.9757
Difference in Sample Means
51.0000
Separate-Variance t Test Statistic
4.6466
Two-Tail Test
Lower Critical Value
-2.0860
Upper Critical Value
2.0860
p-Value
0.0002
Reject the null hypothesis
Here based on the result we are rejecting the null hypothesis
and thus the conclusion is based in the data there is a difference
between the population mean dollar amounts owed by
consumers with delinquent charge accounts in Ohio and Illinois
at 0.05 significance level.
c) Assuming that the normality assumption and the condition
you checked in a) hold, calculate a 95 percent confidence
interval for the difference between the mean dollar amounts
owed in Ohio and Illinois. Based on this interval, do you think
that these mean dollar amounts differ in a practically important
way?
Here the 95% confidence interval is =
As we can see the computed confidence interval has values not
so high as lowest is 28.10 so based on this interval, I don’t
think that these mean dollar amounts differ in a practically
important way.
Math 104 Fall 14Lab Assignment #4Math 104 Fall 14Lab Assignmen.docx

More Related Content

Similar to Math 104 Fall 14Lab Assignment #4Math 104 Fall 14Lab Assignmen.docx

Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)Ruru Chowdhury
 
Lecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleLecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleAhmadullah
 
Qnt 351 final exam new april 2016 version
Qnt 351 final exam new april 2016 versionQnt 351 final exam new april 2016 version
Qnt 351 final exam new april 2016 versionAdams-ASs
 
Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)Harve Abella
 
Question 1 1.  Assume that the data has a normal distribution .docx
Question 1 1.  Assume that the data has a normal distribution .docxQuestion 1 1.  Assume that the data has a normal distribution .docx
Question 1 1.  Assume that the data has a normal distribution .docxIRESH3
 
7. Plan, perform, and evaluate samples for substantive procedures IPPTChap009...
7. Plan, perform, and evaluate samples for substantive procedures IPPTChap009...7. Plan, perform, and evaluate samples for substantive procedures IPPTChap009...
7. Plan, perform, and evaluate samples for substantive procedures IPPTChap009...55296
 
Chi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptxChi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptxlushomo3
 
Chapter 10 One sample test of hypothesis.ppt
Chapter 10 One sample test of hypothesis.pptChapter 10 One sample test of hypothesis.ppt
Chapter 10 One sample test of hypothesis.pptrhanik1596
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingNirajan Bam
 
Findings, Conclusions, & RecommendationsReport Writing
Findings, Conclusions, & RecommendationsReport WritingFindings, Conclusions, & RecommendationsReport Writing
Findings, Conclusions, & RecommendationsReport WritingShainaBoling829
 
1667390753_Lind Chapter 10-14.pdf
1667390753_Lind Chapter 10-14.pdf1667390753_Lind Chapter 10-14.pdf
1667390753_Lind Chapter 10-14.pdfAriniputriLestari
 
X18125514 ca2-statisticsfor dataanalytics
X18125514 ca2-statisticsfor dataanalyticsX18125514 ca2-statisticsfor dataanalytics
X18125514 ca2-statisticsfor dataanalyticsShantanu Deshpande
 
Hyphotheses testing 6
Hyphotheses testing 6Hyphotheses testing 6
Hyphotheses testing 6Sundar B N
 
Section 8 Ensure Valid Test and Survey Results Trough .docx
Section 8 Ensure Valid Test and Survey Results Trough .docxSection 8 Ensure Valid Test and Survey Results Trough .docx
Section 8 Ensure Valid Test and Survey Results Trough .docxkenjordan97598
 

Similar to Math 104 Fall 14Lab Assignment #4Math 104 Fall 14Lab Assignmen.docx (20)

Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)Statr session 17 and 18 (ASTR)
Statr session 17 and 18 (ASTR)
 
Lecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two SampleLecture 7 Hypothesis Testing Two Sample
Lecture 7 Hypothesis Testing Two Sample
 
Qnt 351 final exam new april 2016 version
Qnt 351 final exam new april 2016 versionQnt 351 final exam new april 2016 version
Qnt 351 final exam new april 2016 version
 
Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)
 
Chap010.ppt
Chap010.pptChap010.ppt
Chap010.ppt
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Question 1 1.  Assume that the data has a normal distribution .docx
Question 1 1.  Assume that the data has a normal distribution .docxQuestion 1 1.  Assume that the data has a normal distribution .docx
Question 1 1.  Assume that the data has a normal distribution .docx
 
7. Plan, perform, and evaluate samples for substantive procedures IPPTChap009...
7. Plan, perform, and evaluate samples for substantive procedures IPPTChap009...7. Plan, perform, and evaluate samples for substantive procedures IPPTChap009...
7. Plan, perform, and evaluate samples for substantive procedures IPPTChap009...
 
Chi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptxChi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptx
 
Chapter 10 One sample test of hypothesis.ppt
Chapter 10 One sample test of hypothesis.pptChapter 10 One sample test of hypothesis.ppt
Chapter 10 One sample test of hypothesis.ppt
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Test of significance
Test of significanceTest of significance
Test of significance
 
Findings, Conclusions, & RecommendationsReport Writing
Findings, Conclusions, & RecommendationsReport WritingFindings, Conclusions, & RecommendationsReport Writing
Findings, Conclusions, & RecommendationsReport Writing
 
1667390753_Lind Chapter 10-14.pdf
1667390753_Lind Chapter 10-14.pdf1667390753_Lind Chapter 10-14.pdf
1667390753_Lind Chapter 10-14.pdf
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
BS 723_Class 6(5).pptx
BS 723_Class 6(5).pptxBS 723_Class 6(5).pptx
BS 723_Class 6(5).pptx
 
X18125514 ca2-statisticsfor dataanalytics
X18125514 ca2-statisticsfor dataanalyticsX18125514 ca2-statisticsfor dataanalytics
X18125514 ca2-statisticsfor dataanalytics
 
Hyphotheses testing 6
Hyphotheses testing 6Hyphotheses testing 6
Hyphotheses testing 6
 
Hypothesis and Test
Hypothesis and TestHypothesis and Test
Hypothesis and Test
 
Section 8 Ensure Valid Test and Survey Results Trough .docx
Section 8 Ensure Valid Test and Survey Results Trough .docxSection 8 Ensure Valid Test and Survey Results Trough .docx
Section 8 Ensure Valid Test and Survey Results Trough .docx
 

More from andreecapon

MGMT 511Location ProblemGeorge Heller was so successful in.docx
MGMT 511Location ProblemGeorge Heller was so successful in.docxMGMT 511Location ProblemGeorge Heller was so successful in.docx
MGMT 511Location ProblemGeorge Heller was so successful in.docxandreecapon
 
MGMT 464From Snowboarders to Lawnmowers Case Study Case An.docx
MGMT 464From Snowboarders to Lawnmowers Case Study Case An.docxMGMT 464From Snowboarders to Lawnmowers Case Study Case An.docx
MGMT 464From Snowboarders to Lawnmowers Case Study Case An.docxandreecapon
 
MG345_Lead from Middle.pptLeading from the Middle Exe.docx
MG345_Lead from Middle.pptLeading from the Middle Exe.docxMG345_Lead from Middle.pptLeading from the Middle Exe.docx
MG345_Lead from Middle.pptLeading from the Middle Exe.docxandreecapon
 
MGMT 345Phase 2 IPBusiness MemoToWarehouse ManagerFrom[You.docx
MGMT 345Phase 2 IPBusiness MemoToWarehouse ManagerFrom[You.docxMGMT 345Phase 2 IPBusiness MemoToWarehouse ManagerFrom[You.docx
MGMT 345Phase 2 IPBusiness MemoToWarehouse ManagerFrom[You.docxandreecapon
 
MGMT 3720 – Organizational BehaviorEXAM 3(CH. 9, 10, 11, & 12).docx
MGMT 3720 – Organizational BehaviorEXAM 3(CH. 9, 10, 11, & 12).docxMGMT 3720 – Organizational BehaviorEXAM 3(CH. 9, 10, 11, & 12).docx
MGMT 3720 – Organizational BehaviorEXAM 3(CH. 9, 10, 11, & 12).docxandreecapon
 
Mexico, Page 1 Running Head MEXICO’S CULTURAL, ECONOMI.docx
Mexico, Page 1  Running Head MEXICO’S CULTURAL, ECONOMI.docxMexico, Page 1  Running Head MEXICO’S CULTURAL, ECONOMI.docx
Mexico, Page 1 Running Head MEXICO’S CULTURAL, ECONOMI.docxandreecapon
 
MGM316-1401B-01Quesadra D. GoodrumClass Discussion Phase2.docx
MGM316-1401B-01Quesadra D. GoodrumClass Discussion Phase2.docxMGM316-1401B-01Quesadra D. GoodrumClass Discussion Phase2.docx
MGM316-1401B-01Quesadra D. GoodrumClass Discussion Phase2.docxandreecapon
 
METROPOLITAN PLANNING ANDENVIRONMENTAL ISSUESn May 2008, the N.docx
METROPOLITAN PLANNING ANDENVIRONMENTAL ISSUESn May 2008, the N.docxMETROPOLITAN PLANNING ANDENVIRONMENTAL ISSUESn May 2008, the N.docx
METROPOLITAN PLANNING ANDENVIRONMENTAL ISSUESn May 2008, the N.docxandreecapon
 
Methods of Moral Decision Making REL 330 Christian Moralit.docx
Methods of Moral Decision Making       REL 330 Christian Moralit.docxMethods of Moral Decision Making       REL 330 Christian Moralit.docx
Methods of Moral Decision Making REL 330 Christian Moralit.docxandreecapon
 
MEPS_Inpatient Stay database.csduidpiddupersidevntidxeventrnerhevi.docx
MEPS_Inpatient Stay database.csduidpiddupersidevntidxeventrnerhevi.docxMEPS_Inpatient Stay database.csduidpiddupersidevntidxeventrnerhevi.docx
MEPS_Inpatient Stay database.csduidpiddupersidevntidxeventrnerhevi.docxandreecapon
 
METHODS TO STOP DIFFERENT CYBER CRIMES .docx
METHODS TO STOP DIFFERENT CYBER CRIMES                            .docxMETHODS TO STOP DIFFERENT CYBER CRIMES                            .docx
METHODS TO STOP DIFFERENT CYBER CRIMES .docxandreecapon
 
Mexico The Third War Security Weekly Wednesday, February 18.docx
Mexico The Third War Security Weekly Wednesday, February 18.docxMexico The Third War Security Weekly Wednesday, February 18.docx
Mexico The Third War Security Weekly Wednesday, February 18.docxandreecapon
 
Mercy College .docx
Mercy College                                                   .docxMercy College                                                   .docx
Mercy College .docxandreecapon
 
Merger AnalysisMerger Analysis Case Study© 2007 South UniversityFr.docx
Merger AnalysisMerger Analysis Case Study© 2007 South UniversityFr.docxMerger AnalysisMerger Analysis Case Study© 2007 South UniversityFr.docx
Merger AnalysisMerger Analysis Case Study© 2007 South UniversityFr.docxandreecapon
 
MGMT 301 EOY Group” Case Study and Power Point Presentation G.docx
MGMT 301 EOY Group” Case Study and Power Point Presentation G.docxMGMT 301 EOY Group” Case Study and Power Point Presentation G.docx
MGMT 301 EOY Group” Case Study and Power Point Presentation G.docxandreecapon
 
MGMT 464New Manager’s Case Study Case Analysis Worksheet #.docx
MGMT 464New Manager’s Case Study Case Analysis Worksheet #.docxMGMT 464New Manager’s Case Study Case Analysis Worksheet #.docx
MGMT 464New Manager’s Case Study Case Analysis Worksheet #.docxandreecapon
 
META-INFMANIFEST.MFManifest-Version 1.0.classpath.docx
META-INFMANIFEST.MFManifest-Version 1.0.classpath.docxMETA-INFMANIFEST.MFManifest-Version 1.0.classpath.docx
META-INFMANIFEST.MFManifest-Version 1.0.classpath.docxandreecapon
 
Menu Management Options· · APRN504 - 5886 - HEALTH POLICY .docx
Menu Management Options· · APRN504 - 5886 - HEALTH POLICY .docxMenu Management Options· · APRN504 - 5886 - HEALTH POLICY .docx
Menu Management Options· · APRN504 - 5886 - HEALTH POLICY .docxandreecapon
 
MGMT 673 Problem Set 51. For each of the following economic cond.docx
MGMT 673 Problem Set 51. For each of the following economic cond.docxMGMT 673 Problem Set 51. For each of the following economic cond.docx
MGMT 673 Problem Set 51. For each of the following economic cond.docxandreecapon
 
Mental Illness Stigma and the Fundamental Components ofSuppo.docx
Mental Illness Stigma and the Fundamental Components ofSuppo.docxMental Illness Stigma and the Fundamental Components ofSuppo.docx
Mental Illness Stigma and the Fundamental Components ofSuppo.docxandreecapon
 

More from andreecapon (20)

MGMT 511Location ProblemGeorge Heller was so successful in.docx
MGMT 511Location ProblemGeorge Heller was so successful in.docxMGMT 511Location ProblemGeorge Heller was so successful in.docx
MGMT 511Location ProblemGeorge Heller was so successful in.docx
 
MGMT 464From Snowboarders to Lawnmowers Case Study Case An.docx
MGMT 464From Snowboarders to Lawnmowers Case Study Case An.docxMGMT 464From Snowboarders to Lawnmowers Case Study Case An.docx
MGMT 464From Snowboarders to Lawnmowers Case Study Case An.docx
 
MG345_Lead from Middle.pptLeading from the Middle Exe.docx
MG345_Lead from Middle.pptLeading from the Middle Exe.docxMG345_Lead from Middle.pptLeading from the Middle Exe.docx
MG345_Lead from Middle.pptLeading from the Middle Exe.docx
 
MGMT 345Phase 2 IPBusiness MemoToWarehouse ManagerFrom[You.docx
MGMT 345Phase 2 IPBusiness MemoToWarehouse ManagerFrom[You.docxMGMT 345Phase 2 IPBusiness MemoToWarehouse ManagerFrom[You.docx
MGMT 345Phase 2 IPBusiness MemoToWarehouse ManagerFrom[You.docx
 
MGMT 3720 – Organizational BehaviorEXAM 3(CH. 9, 10, 11, & 12).docx
MGMT 3720 – Organizational BehaviorEXAM 3(CH. 9, 10, 11, & 12).docxMGMT 3720 – Organizational BehaviorEXAM 3(CH. 9, 10, 11, & 12).docx
MGMT 3720 – Organizational BehaviorEXAM 3(CH. 9, 10, 11, & 12).docx
 
Mexico, Page 1 Running Head MEXICO’S CULTURAL, ECONOMI.docx
Mexico, Page 1  Running Head MEXICO’S CULTURAL, ECONOMI.docxMexico, Page 1  Running Head MEXICO’S CULTURAL, ECONOMI.docx
Mexico, Page 1 Running Head MEXICO’S CULTURAL, ECONOMI.docx
 
MGM316-1401B-01Quesadra D. GoodrumClass Discussion Phase2.docx
MGM316-1401B-01Quesadra D. GoodrumClass Discussion Phase2.docxMGM316-1401B-01Quesadra D. GoodrumClass Discussion Phase2.docx
MGM316-1401B-01Quesadra D. GoodrumClass Discussion Phase2.docx
 
METROPOLITAN PLANNING ANDENVIRONMENTAL ISSUESn May 2008, the N.docx
METROPOLITAN PLANNING ANDENVIRONMENTAL ISSUESn May 2008, the N.docxMETROPOLITAN PLANNING ANDENVIRONMENTAL ISSUESn May 2008, the N.docx
METROPOLITAN PLANNING ANDENVIRONMENTAL ISSUESn May 2008, the N.docx
 
Methods of Moral Decision Making REL 330 Christian Moralit.docx
Methods of Moral Decision Making       REL 330 Christian Moralit.docxMethods of Moral Decision Making       REL 330 Christian Moralit.docx
Methods of Moral Decision Making REL 330 Christian Moralit.docx
 
MEPS_Inpatient Stay database.csduidpiddupersidevntidxeventrnerhevi.docx
MEPS_Inpatient Stay database.csduidpiddupersidevntidxeventrnerhevi.docxMEPS_Inpatient Stay database.csduidpiddupersidevntidxeventrnerhevi.docx
MEPS_Inpatient Stay database.csduidpiddupersidevntidxeventrnerhevi.docx
 
METHODS TO STOP DIFFERENT CYBER CRIMES .docx
METHODS TO STOP DIFFERENT CYBER CRIMES                            .docxMETHODS TO STOP DIFFERENT CYBER CRIMES                            .docx
METHODS TO STOP DIFFERENT CYBER CRIMES .docx
 
Mexico The Third War Security Weekly Wednesday, February 18.docx
Mexico The Third War Security Weekly Wednesday, February 18.docxMexico The Third War Security Weekly Wednesday, February 18.docx
Mexico The Third War Security Weekly Wednesday, February 18.docx
 
Mercy College .docx
Mercy College                                                   .docxMercy College                                                   .docx
Mercy College .docx
 
Merger AnalysisMerger Analysis Case Study© 2007 South UniversityFr.docx
Merger AnalysisMerger Analysis Case Study© 2007 South UniversityFr.docxMerger AnalysisMerger Analysis Case Study© 2007 South UniversityFr.docx
Merger AnalysisMerger Analysis Case Study© 2007 South UniversityFr.docx
 
MGMT 301 EOY Group” Case Study and Power Point Presentation G.docx
MGMT 301 EOY Group” Case Study and Power Point Presentation G.docxMGMT 301 EOY Group” Case Study and Power Point Presentation G.docx
MGMT 301 EOY Group” Case Study and Power Point Presentation G.docx
 
MGMT 464New Manager’s Case Study Case Analysis Worksheet #.docx
MGMT 464New Manager’s Case Study Case Analysis Worksheet #.docxMGMT 464New Manager’s Case Study Case Analysis Worksheet #.docx
MGMT 464New Manager’s Case Study Case Analysis Worksheet #.docx
 
META-INFMANIFEST.MFManifest-Version 1.0.classpath.docx
META-INFMANIFEST.MFManifest-Version 1.0.classpath.docxMETA-INFMANIFEST.MFManifest-Version 1.0.classpath.docx
META-INFMANIFEST.MFManifest-Version 1.0.classpath.docx
 
Menu Management Options· · APRN504 - 5886 - HEALTH POLICY .docx
Menu Management Options· · APRN504 - 5886 - HEALTH POLICY .docxMenu Management Options· · APRN504 - 5886 - HEALTH POLICY .docx
Menu Management Options· · APRN504 - 5886 - HEALTH POLICY .docx
 
MGMT 673 Problem Set 51. For each of the following economic cond.docx
MGMT 673 Problem Set 51. For each of the following economic cond.docxMGMT 673 Problem Set 51. For each of the following economic cond.docx
MGMT 673 Problem Set 51. For each of the following economic cond.docx
 
Mental Illness Stigma and the Fundamental Components ofSuppo.docx
Mental Illness Stigma and the Fundamental Components ofSuppo.docxMental Illness Stigma and the Fundamental Components ofSuppo.docx
Mental Illness Stigma and the Fundamental Components ofSuppo.docx
 

Recently uploaded

Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 

Recently uploaded (20)

Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 

Math 104 Fall 14Lab Assignment #4Math 104 Fall 14Lab Assignmen.docx

  • 1. Math 104 Fall '14Lab Assignment #4 Math 104 Fall '14Lab Assignment #4 [1] Lipitor is a drug used to control cholesterol. In clinical trials of Lipitor, 94 subjects were treated with Lipitor and 270 subjects were given a placebo. Among those who were treated with Lipitor, 7 developed infections. Among those given a placebo, 27 developed infections. Use a 0.05 significance level to test the claim that the rate of infections was the same for those treated with Lipitor and those given a placebo. Z Test for Differences in Two Proportions Data Hypothesized Difference 0 Level of Significance 0.05 Group 1 Number of Items of Interest 7 Sample Size 94 Group 2 Number of Items of Interest 27 Sample Size 270 Intermediate Calculations Group 1 Proportion 0.074468085
  • 2. Group 2 Proportion 0.1 Difference in Two Proportions -0.02553191 Average Proportion 0.0934 Z Test Statistic -0.7326 Two-Tail Test Lower Critical Value -1.9600 Upper Critical Value 1.9600 p-Value 0.4638 Do not reject the null hypothesis [2] Simple random samples of high-interest (5.36%) mortgages and low-interest (3.77%) mortgage were obtained. For the 40 high-interest mortgages, the borrowers had a mean FICO credit score of 594.8 and standard deviation of 12.2. For the 40 low- interest mortgages, the borrowers had a mean FICO credit score of 785.2 and standard deviation of 16.3. a) Use a 0.01 significance level to test the claim that the mean FICO score of borrowers with high-interest mortgage is lower than the mean FICO score of borrowers with low-interest mortgage. b) Does the FICO credit rating score appear to affect mortgage payments? If so, how? Math 104 Fall '14Lab Assignment #4 The test of interest here is,
  • 3. As here the sample size for both the samples are large enough so we can assume the normality using CLT and thus a Z-test would be appropriate. And the hypotheses also show that it’s a left tail test. The output is given below, Z Test for Differences in Two Means Data Hypothesized Difference 0 Level of Significance 0.01 Population 1 Sample Sample Size 40 Sample Mean 594.8 Population Standard Deviation 12.2 Population 2 Sample Sample Size 40 Sample Mean 785.2 Population Standard Deviation 16.3 Intermediate Calculations Difference in Sample Means -190.4 Standard Error of the Difference in Means 3.2192
  • 4. Z Test Statistic -59.1451 Lower-Tail Test Lower Critical Value -2.3263 p-Value 0.0000 Reject the null hypothesis Here the lower p-value suggests that we should reject the null hypothesis and conclude that the mean FICO score of borrowers with high-interest mortgage is lower than the mean FICO score of borrowers with low-interest mortgage. Note that the above analysis showed that the interest rate is higher for the group with lower FICO scores. Thus the FICO credit rating scores appear to affect mortgage payments. If the FICO score is high then the interest rate is expected to be low so the mortgage payments would be low. And for low FICO score the opposite is expected to be observed.[3] A random sample of the birth weights of 186 babies has a mean of 3103g and a standard deviation of 696g (based on data from “Cognitive Outcomes of Preschool Children with Prenatal Cocaine Exposure,” by Singer et al., Journal of the American Medical Association, Vol. 291, No. 20). These babies were born to mothers who did not use cocaine during their pregnancies. Further, a random sample of the birth weights of 190 babies born to mothers who used cocaine during their pregnancies has a mean of 2700g and a standard deviation of 645g. a) The birth weights of babies are known normally distributed. Use a 0.05 significance level to test the claim that both samples are from populations having the same standard deviation. b) Using your finding in (a), construct a 95% confidence
  • 5. interval estimate of the difference between the mean birth weight of a baby born to mothers who did not use cocaine and that of a baby born to mothers who used cocaine during their pregnancies. c) Using your finding in (b), does cocaine use appear to affect the birth weight of a baby? Substantiate you conclusion. a) Here we need to test for the equality of the standard deviation (same as variance) so the hypotheses of interest are, As this is two sample test for standard deviation or variance so the test can be performed using a F test. The obtained output is given below. F Test for Differences in Two Variances Data Level of Significance 0.05 Larger-Variance Sample Sample Size 186 Sample Variance 484416 Smaller-Variance Sample Sample Size 190 Sample Variance 416025 Intermediate Calculations F Test Statistic
  • 6. 1.1644 Population 1 Sample Degrees of Freedom 185 Population 2 Sample Degrees of Freedom 189 Two-Tail Test Upper Critical Value 1.3329 p-Value 0.2986 Do not reject the null hypothesis Here the p-value is larger than the significance level so we are failing to reject the null hypothesis and concluding that the data does not suggest that both samples are from populations having different standard deviation. b) Here we found out that the variations are not different in two groups so we should use a pooled variance t-test. Pooled-Variance t Test for the Difference Between Two Means (assumes equal population variances) Data Hypothesized Difference 0 Level of Significance 0.05 Population 1 Sample Sample Size 186
  • 7. Sample Mean 3103 Sample Standard Deviation 696 Population 2 Sample Sample Size 190 Sample Mean 2700 Sample Standard Deviation 645 Intermediate Calculations Population 1 Sample Degrees of Freedom 185 Population 2 Sample Degrees of Freedom 189 Total Degrees of Freedom 374 Pooled Variance 449854.7727 Standard Error 69.1826 Difference in Sample Means 403.0000 t Test Statistic 5.8252 Two-Tail Test Lower Critical Value -1.9663 Upper Critical Value
  • 8. 1.9663 p-Value 0.0000 Reject the null hypothesis Confidence Interval Estimate for the Difference Between Two Means Data Confidence Level 95% Intermediate Calculations Degrees of Freedom 374 t Value 1.9663 Interval Half Width 136.0356 Confidence Interval Interval Lower Limit 266.9644 Interval Upper Limit 539.0356 From the values from above table, 95% confidence interval for difference = c) From the above calculated confidence interval we can see that the confidence interval does not contain the value 0. So based on the findings we can conclude that cocaine use appears
  • 9. to affect the birth weight of a baby.[4] A large discount chain compares the performance if its credit managers in Ohio and Illinois by comparing the mean dollars amounts owed by customers with delinquent charge accounts in these two states. Here a small mean dollar amount owed is desirable because it indicates that bad credit risks are not being extended large amounts of credit. Two independent, random samples of delinquent accounts are selected from the populations of delinquent accounts in Ohio and Illinois, respectively. The first sample, which consists of 15 randomly selected delinquent accounts in Ohio, givens a mean dollar amount of $524 with a standard deviation of $38. The second sample, which consists of 20 randomly selected delinquent accounts in Illinois, gives a mean dollar amount of $473 with a standard deviation of $22. a) Assuming that the normality assumption, test to determine if Here we need to test for the equality of the variance so the hypotheses of interest are, As this is two sample test for variance and normality assumption is valid so the test can be performed using a F test. The obtained output is given below. F Test for Differences in Two Variances Data Level of Significance 0.05 Larger-Variance Sample Sample Size 15 Sample Variance 1444 Smaller-Variance Sample
  • 10. Sample Size 20 Sample Variance 484 Intermediate Calculations F Test Statistic 2.9835 Population 1 Sample Degrees of Freedom 14 Population 2 Sample Degrees of Freedom 19 Two-Tail Test Upper Critical Value 2.6469 p-Value 0.0283 Reject the null hypothesis Here the p-value is smaller than the significance level so we are rejecting the null hypothesis and concluding that the data suggests that the population variances are not equal. population mean dollar amounts owed by consumers with delinquent charge accounts in Ohio and Illinois. Here the population variances are not equal so we should run a separate variance t test. The results are as follows, Separate-Variances t Test for the Difference Between Two
  • 11. Means (assumes unequal population variances) Data Hypothesized Difference 0 Level of Significance 0.05 Population 1 Sample Sample Size 15 Sample Mean 524 Sample Standard Deviation 38.0000 Population 2 Sample Sample Size 20 Sample Mean 473 Sample Standard Deviation 22.0000 Intermediate Calculations Numerator of Degrees of Freedom 14512.2178 Denominator of Degrees of Freedom 692.7711 Total Degrees of Freedom 20.9481 Degrees of Freedom 20 Standard Error 10.9757
  • 12. Difference in Sample Means 51.0000 Separate-Variance t Test Statistic 4.6466 Two-Tail Test Lower Critical Value -2.0860 Upper Critical Value 2.0860 p-Value 0.0002 Reject the null hypothesis Here based on the result we are rejecting the null hypothesis and thus the conclusion is based in the data there is a difference between the population mean dollar amounts owed by consumers with delinquent charge accounts in Ohio and Illinois at 0.05 significance level. c) Assuming that the normality assumption and the condition you checked in a) hold, calculate a 95 percent confidence interval for the difference between the mean dollar amounts owed in Ohio and Illinois. Based on this interval, do you think that these mean dollar amounts differ in a practically important way? Here the 95% confidence interval is = As we can see the computed confidence interval has values not so high as lowest is 28.10 so based on this interval, I don’t think that these mean dollar amounts differ in a practically important way.