DS 123 – Tutorial Assignment # 4
Chaffe-Stengel
Hypothesis tests: t-tests of two population means, equal & unequal variances
1. Read Problem 10.22 on page 409-10. Assuming the auto loan rates are independently sampled and normally distributed, conduct 5-part formal hypothesis tests side-by-side, on the left in the t-statistic and on the right in the p-value, to test whether the average shopping expenses differ. Use = 0.01.
2. A local bank ran a spot advertising campaign on their 30-year fixed-rate home mortgage. Branch A is located in a large shopping mall anchored by a department store and produced a sample of 14 randomly selected applications for home mortgage loans shown below during the advertising campaign. Branch B is located in a shopping mall anchored by a national grocery chain and produced a sample of 16 randomly selected applications for home mortgage loans shown below during the advertising campaign. Use the unequal variances t-test to test whether there was any difference in the average amounts of home mortgages applied for at the two branches. Use = 0.05.
General Studies 420:Disability & Society
SDSU: M. McClure
Assignment #2
History of Dis/Ability Response
Directions:
1. Access “Parallels In Time: A History of Developmental Disabilities” using the following URLs: http://www.mnddc.org/parallels/index.html
2. Preview all sections of the website.
3. A minimum 500 word (double spaced) summary is required for 3 (or more) of the sections/topics reviewed. (You will be writing one summary that includes all 3 sections/topics)
a. Ex:
Pick 3 time periods (Read all the subtopics in each time period)
b. Ex:
Pick 3 Sections (Read all the subtopics in each section)
4. A one page (double-spaced) personal reaction should follow the summary.
5. Two questions about the information you summarized should be asked at the end of your personal response.
6. And finally, write a paragraph (minimum of 250 words) on how does this information relate to course information covered so far?
Please note Grading and submission issues:
* The Cover Sheet/Rubric will be used as the first page. Failure to include the self-scored cover sheet/rubric will result in a loss of points
*This assignment needs to be in the following layout:
-Times New Roman, Size 12-Font
-Double-Spaced
-1.0 Margins
-Indent first sentence of the paragraph
-Title for each section (Summary, Personal Reflection, Questions, How Information Relates to the course)
*Be sure to save a copy of your assignment throughout the semester. Loss of an assignment or failure to submit your assignment online using Blackboard is your responsibility.
*This assignment is to be uploaded (electronically submitted) on Blackboard using the “submit” button in the “Assignments” folder (found on the button located on the main menu of the Blackboard course. You are responsible for submitting an assignment according to the instructions provided on Blackboard regardless of any technical problem.
1. DS 123 – Tutorial Assignment # 4
Chaffe-Stengel
Hypothesis tests: t-tests of two population means, equal &
unequal variances
1. Read Problem 10.22 on page 409-10. Assuming the auto loan
rates are independently sampled and normally distributed,
conduct 5-part formal hypothesis tests side-by-side, on the left
in the t-statistic and on the right in the p-value, to test whether
2. A local bank ran a spot advertising campaign on their 30-year
fixed-rate home mortgage. Branch A is located in a large
shopping mall anchored by a department store and produced a
sample of 14 randomly selected applications for home mortgage
loans shown below during the advertising campaign. Branch B
is located in a shopping mall anchored by a national grocery
chain and produced a sample of 16 randomly selected
applications for home mortgage loans shown below during the
advertising campaign. Use the unequal variances t-test to test
whether there was any difference in the average amounts of
General Studies 420:Disability & Society
SDSU: M. McClure
Assignment #2
History of Dis/Ability Response
Directions:
1. Access “Parallels In Time: A History of Developmental
Disabilities” using the following URLs:
http://www.mnddc.org/parallels/index.html
2. 2. Preview all sections of the website.
3. A minimum 500 word (double spaced) summary is required
for 3 (or more) of the sections/topics reviewed. (You will be
writing one summary that includes all 3 sections/topics)
a. Ex:
Pick 3 time periods (Read all the subtopics in each time period)
b. Ex:
Pick 3 Sections (Read all the subtopics in each section)
4. A one page (double-spaced) personal reaction should follow
the summary.
5. Two questions about the information you summarized should
be asked at the end of your personal response.
6. And finally, write a paragraph (minimum of 250 words) on
how does this information relate to course information covered
so far?
Please note Grading and submission issues:
* The Cover Sheet/Rubric will be used as the first page. Failure
to include the self-scored cover sheet/rubric will result in a loss
of points
*This assignment needs to be in the following layout:
-Times New Roman, Size 12-Font
-Double-Spaced
-1.0 Margins
-Indent first sentence of the paragraph
3. -Title for each section (Summary, Personal Reflection,
Questions, How Information Relates to the course)
*Be sure to save a copy of your assignment throughout the
semester. Loss of an assignment or failure to submit your
assignment online using Blackboard is your responsibility.
*This assignment is to be uploaded (electronically submitted)
on Blackboard using the “submit” button in the “Assignments”
folder (found on the button located on the main menu of the
Blackboard course. You are responsible for submitting an
assignment according to the instructions provided on
Blackboard regardless of any technical problems with
Blackboard.
*DO NOT SUBMIT AS AN ATTACHMENT TO AN EMAIL
ACCOUNT or DO NOT SUBMIT TO THE DIGITAL
DROPBOX UNDER ANY CIRCUMSTANCES. Use the help
button and video tutorials to help with Blackboard if you have
questions. Contact the instructor only if you are having
exhausted all of your resources.
*Use People-first language in all assignments. Failure to do so
will result in a point loss. Acknowledging people with
disabilities as “people first” shows respect and appreciation. If
you have questions as to how to phrase a sentence using person-
first language, please see the Course Documents section of
Blackboard: “Think Before You Speak” for examples.
* There will a template of this assignment on a separate
document available under assignment link on Blackboard.
Grading Rubric:
Item:
4. Points:
Cover Page/Rubric with Correct Information:
-Assignment submitted on time with the Rubric self scored,
including student’s full name and student number, title of the
assignment, and date of submission.
-Failure to include the rubric and/or self-scored points entered
is 2 points.
2
Correct Writing Mechanics (Writing Quality) & Paper
Structure:
-Proper Grammar/Spelling & Sentence Structure
-Correct Paper Structure –Times New Roman 12-font, Double
Spaced, Indent 1st sentence, 1.0 Margins, titles
2
Clear Summary on 3 or more topics
-500-word minimum (1 Summary that includes all 3
sections/topics that is at least 500 words). Indicate what time
periods you are discussing.
-Have a title for all sections/topics
4
Person First language
-Look at the Person First Language document on Blackboard
2
Personal Reflection
5. -One page
2
2 Questions that relate to the topic
(.5 points each)
1
How does this information relate to the course content?
-One paragraph (minimum 250 words)
2
Total Possible Points:
15
General Studies 420:Disability & Society
SDSU: M. McClure
Assignment #2
History of Dis/Ability Response
(Template for Format)
Follow all Directions!
Double Space!
1st page: Coversheet/Rubric
2nd page and following: Choose website. Summarize 3 sections
that were of interest to you. A total of 500 words for
summarizing all three sections is minimum. You are not
required to write 500 words per section – the 500 words is
minimum for summarizing all three sections total.
Section 1:
Section 2:
6. Section 3:
Personal reaction
Two questions
How does this information relate to our course?
Reminder: We do not deduct points if you choose to write a
lengthy response. Lengthy responses make us happy. A lengthy
response typically provides evidence that you are very
interested in the material.
___________________________________
Assigned Student GS 420 #
_____________________________________________________
Name: (Last, First) & Class section (1 or 2)
Date: _________________________________
General Studies 420:Disability & Society
M. McClure
Cover Sheet/Rubric
Assignment #2:
History of Dis/Ability Response
Rubric
7. Students self-score
Item:
Points
Cover Page/Rubric with Correct Information:
-Assignment submitted on time with the Rubric self scored,
including student’s full name and student number, title of the
assignment, and date of submission.
-Failure to include the rubric and/or self-scored points entered
is 2 points. (2 pts.)
Correct Writing Mechanics (Writing Quality) & Paper
Structure:
-Proper Grammar/Spelling & Sentence Structure
-Correct Paper Structure –Times New Roman 12-font, Double
Spaced, Indent 1st sentence, 1.0 Margins, Titles
(2 pts.)
Clear Summary on 3 or more topics
-500-word minimum (1 Summary that includes all 3
sections/topics that is at least 500 words). Indicate what time
periods you are discussing.
8. -Have a title for all sections/topics
(4 pts.)
Person First language
-Look at the People First Language document on Blackboard
(2 pts.)
Personal Reflection
-One paragraph (minimum 250 words)
Two Questions that relate to the topic
How does this information relate to the course content?
-One paragraph (minimum 250 words)
(5 pts.)
Total Possible Points: (15)
Did you remember to self-score?????
Sheet1Your nameJMP OUTPUTDS 123 Lab #4Due:
10/03/2016Question 1.Problem 10.12, p. 390t-Test: Two-Sample
Assuming Equal VariancesFixed Rate8.29%Fixed RateVariable
Rate7.75%Mean7.50%Variance7.99%Observations7.75%Pooled
Variance7.99%Hypothesized Mean9.40%df8.00%t StatP(T<=t)
one-tailVariable Ratet Critical one-tail7.59%P(T<=t) two-
tail6.75%t Critical two-tail6.99%6.50%t-Statisticp-
value7.00%Hypotheses:Rejection Region:a = 0.05a = 0.05df =
??Rej H0 if p-value < 0.05t-coeff =??Rej H0 if t > ??or t <
??Test Statistic:t =??p-value =??Conclusion:Since the test
statistic of t = ?? fallsSince the test statistic
of{above/below/between} critical bound ofp-value = ?? falls
{above/below}t =??, we {reject/do not reject} H0alpha = 0.05,
9. we {reject/do not reject}with at least 95% confidence.H0 with
at least 95% confidence.Implication:There {is/is not} enough
evidence toThere {is/is not} enough evidence toconclude that
the mean rates for theconclude that the mean ratesfixed and
variable rate auto loans differ.for the fixed and variable rateauto
loans differ.Question 2.Problem Given on AssignmentBranch
AF-Test Two-Sample for Variances$307,000JMP
OUTPUT$316,000Branch ABranch
B$307,000Mean$305,000Variance$294,000Observations$303,00
0df$297,000F$286,000P(F<=f) one-tail$265,000F Critical one-
tail$320,000$315,000t-Test: Two-Sample Assuming Unequal
Variances$328,000$285,000Branch ABranch
B$293,000MeanVarianceBranch
BObservations$304,000Hypothesized
Mean$289,000df$296,000t Stat$283,000P(T<=t) one-
tail$281,000t Critical one-tail$301,000P(T<=t) two-
tail$298,000t Critical two-tail$303,000$301,000t-Statisticp-
value$288,000$298,000Hypotheses:$286,000$284,000$283,000
Rejection Region:a = 0.05a = 0.05$277,000df = ??Rej H0 if p-
value < 0.05$273,000t-coeff =??Rej H0 if t > ??or t < ??Test
Statistic:t =??p-value =??Conclusion:Since the test statistic of t
= ?? fallsSince the test statistic of{above/below/between} the
critical boundp-value = ?? Falls {above/below}of t =??, we
{reject/do not reject} H0a = 0.05, we {reject/do not reject}with
at least 95% confidence.H0 with at least 95%
confidence.Implication:There {is/is not} enough evidence
toThere {is/is not} enough evidence toconclude that the average
mortgagesconclude that the average mortgagesapplied for differ
at the two branches.applied for differ at the two branches.
Sheet2
Sheet3
DS 123 – Lab Assignment # 4
Chaffe-Stengel, Fall 2016
Hypothesis tests: t-tests of two population means, equal &
unequal variances
10. 1. Read Problem 10.12 on page 390. Assuming the auto loan
rates are independently sampled and normally distributed,
conduct 5-part formal hypothesis tests side-by-side, on the left
in the t-statistic and on the right in the p-value, to test whether
the mean rates for the 48-month fixed and variable-rate auto
loans differ. U
To add the JMP output for Problem 10.12:
a. Open JMP.
b. File – New – Data Table.
c. Column 1 enter Fixed in cells 1 – 8, Variable in cells 9 – 13.
d. Rename column 1 Types of Rates.
e. Go back to the Excel spreadsheet. Copy fixed rate values
from Excel. On JMP table, double click on column 2 cell 1,
Control-V to paste the eight values.
f. Go back to the Excel spreadsheet. Copy variable rate values
from Excel. On JMP table, paste the values in column 2 cells 9
– 13.
g. Rename column Rates.
h. Highlight Rates title, select Col-Column info. In the window,
format – Dec should show 2, not 0. Click OK.
i. Analyze-Fit Y by X.
j. Move Rates to Y, Response. Move Types of Rates to X,
Factor. Click OK.
k. Click the red diamond next to Oneway Analysis.
Select Means/Anova/Pooled t.
11. l. ALT-Edit-Copy.
m. Go back to the Excel spreadsheet. In cell J2, paste the JMP
report. Delete material in cells J40:O72.
n. From the JMP report, right click on the Oneway Analysis
graphic. Edit-Copy graph.
o. On the Excel spreadsheet, paste the graph with the upper left
corner located on M9.
p. From the JMP report, right click on the t-Test assuming equal
variances graphic. Edit – Copy graph.
q. On the Excel spreadsheet, paste the graph with the upper left
corner located on cell N24.
2. A local bank ran a spot advertising campaign on their 30-year
fixed-rate home mortgage. Branch A is located in a large
shopping mall anchored by a department store and produced a
sample of 14 randomly selected applications for home mortgage
loans shown below during the advertising campaign. Branch B
is located in a shopping mall anchored by a national grocery
chain and produced a sample of 16 randomly selected
applications for home mortgage loans shown below during the
advertising campaign. Use the unequal variances t-test to test
whether there was any difference in the average amounts of
To add the JMP output for question 2:
a. Open JMP.
b. File – New – Data Table.
c. Column 1 enter Branch A in cells 1 – 14, Branch B in cells 15
– 30.
d. Rename column 1 Branches
12. e. Go back to the Excel spreadsheet. Copy Branch A loan values
from Excel. On JMP table, double click on column 2 cell 1,
Control-V to paste the fourteenvalues.
f. Go back to the Excel spreadsheet. Copy Branch B loan values
from Excel. On JMP table, paste the values in column 2 cells 15
– 30.
g. Rename column Loans.
h. Analyze-Fit Y by X.
i. Move Loans to Y, Response. Move Branches to X, Factor.
Click OK.
j. Click the red diamond next to Oneway Analysis.
Select t-Test.
k. ALT-Edit-Copy.
l. Go back to the Excel spreadsheet. In cell J47, paste the JMP
report.
m. From the JMP report, right click on the t-Test assuming
unequal variances graphic. Edit – Copy graph.
n. On the Excel spreadsheet, paste the graph with the upper left
corner located on cell N54.
This assignment is due October 3.
Question 1 Prob 10-22TutorialEXCEL INSTRUCTIONS:JMP
INSTRUCTIONS:DS 123 Lab #41. Under File, select Page
Setup. Select the top tab: Sheet.To add the JMP output for
Problem 10.22:In the Print window, select Gridlines and Row
and Column Headers.a. Open JMP.2. Set column A to width
10 and column C to 16.b. File – New – Data Table.3. Insert a
page break above row 46.c. Column 1 enter Miller's in cells
1 – 10, Albert's in cells 11 - 20.d. Rename column 1
13. Markets.Question 1.Problem 10.10, pp. 389 - 390e. Go back
to this Excel spreadsheet. Copy Miller's values from Excel. On
JMP table, double click on column 2 cell 1, Control-V to paste
the ten values.Miller'st-Test: Two-Sample Assuming Equal
Variancesf. Go back to this Excel spreadsheet. Copy
Albert's values from Excel. On JMP table, paste the values in
column 2 cells 11-20.$119.25Go to the Data ribbon and select
Data Analysis.g. Rename column Grocery
Expenses.$121.32Miller'sAlbert'sSelect t-Test: Two-Sample
Assuming Equal Variancesh. Highlight Grocery Expenses
title, select Col-Column info. In the window, format – Dec
should show 2, not 0. Click
OK.$122.34Mean121.916114.807Select the data streams for
each variable, including their labels.i. Analyze-Fit Y by
X.$120.14Variance1.95500444443.3867122222Change the alpha
level to .01j. Move Grocery Expenses to Y, Response.
Move Markets to X, Factor. Click
OK.$122.19Observations1010Mark that labels were
included.k. Click the red diamond next to Oneway
Analysis.$123.71Pooled Variance2.6708583333Place the output
in cell C8.Select Means/Anova/Pooled t.$121.72Hypothesized
Mean Difference0It will prompt you that you are
overwritingl. ALT-Edit-Copy.$122.42df18material. Click
'Ok'.m. Go back to this Excel spreadsheet. In cell M23, paste
the JMP report.$123.63t Stat9.7267575315n. From the JMP
report, right click on the Oneway Analysis graphic. Edit-Copy
graph.$122.44P(T<=t) one-tail0.0000000068o. On this Excel
spreadsheet, paste the graph with the upper left corner located
on P27.t Critical one-tail2.5523786462p. From the JMP
report, right click on the t-Test assuming equal variances
graphic. Edit – Copy graph.Albert'sP(T<=t) two-
tail0.0000000137q. On this Excel spreadsheet, paste the
graph with the upper left corner located on cell R48.$111.99t
Critical two-tail2.8784415917$114.88JMP OUTPUT$115.11t-
Statisticp-value$117.02$116.89Hypotheses:Oneway Analysis of
Grocery Expenses By Markets$116.62$115.38$114.40Rejection
14. Region:a = 0.01a = 0.01$113.91df = 18Rej H0 if p-value <
0.01$111.87t-coeff =2.8784404727Oneway AnovaRej H0 if t >
2.878 ort < - 2.878Test Statistic:t =9.7267575315p-value
=0.0000000137Summary of FitConclusion:Since the test
statistic of t = 9.727 fallsSince the test statistic
ofRsquare0.840156WAY above the upper critical valuep-value
= 1.37 x 10^-8 falls belowAdj Rsquare0.831276of t = 2.878, we
reject H0alpha=0.01,we rejectRoot Mean Square
Error1.634276with at least 99% confidence.H0 with at least
99% confidence.Mean of
Response118.3615Implication:Observations (or Sum
Wgts)20There is enough evidence toThere is enough evidence
toconclude that the mean weekly expensesconclude that the
mean weeklyat Miller's and Albert's differ.expenses at Miller's
and Albert'sdiffer.t TestMiller's-Albert'sAssuming equal
variancesDifference7.109t Ratio9.726758Std Err
Dif0.73087DF18Upper CL Dif8.6445Prob > |t|<.0001Lower CL
Dif5.5735Prob > t<.0001Confidence0.95Prob < t1Analysis of
VarianceSourceDFSum of SquaresMean SquareF RatioProb >
FMarkets1252.6894252.68994.6098<.0001Error1848.075452.67
1C. Total19300.76485Means for Oneway
AnovaLevelNumberMeanStd ErrorLower 95%Upper
95%Albert's10114.8070.5168113.72115.89Miller's10121.9160.5
168120.83123Std Error uses a pooled estimate of error variance
Question 2JMP INSTRUCTIONSQuestion 2.Problem Given on
AssignmentTo add the JMP output for question 2:Branch AF-
Test Two-Sample for VariancesGo to the Data ribbon and select
Data Analysis.a. Open JMP.$307,000Select F-Test Two-
Sample for Variancesb. File – New – Data
Table.$316,000Branch ABranch BSelect the data streams for
each variable, including their labels.c. Column 1 enter
Branch A in cells 1 – 14, Branch B in cells 15 –
30.$307,000Mean301500290312.5Mark that labels were
included.d. Rename column 1
Branches$305,000Variance269653846.15384697562500Change
the alpha level to 0.10 -- so the one-tailed critical bound will be
15. at 0.05.e. Go back to this Excel spreadsheet. Copy Branch A
loan values from Excel. On JMP table, double click on column 2
cell 1, Control-V to paste the
fourteenvalues.$294,000Observations1416Place the output in
cell C47.f. Go back to this Excel spreadsheet. Copy Branch
B loan values from Excel. On JMP table, paste the values in
column 2 cells 15 – 30.$303,000df1315It will prompt you that
you are overwritingg. Rename column
Loans.$297,000F2.763908737material. Click 'Ok'.h.
Analyze-Fit Y by X.$286,000P(F<=f) one-
tail0.0314249074Notice: you will REJECT H0. There IS enough
evidence to say the variances are different!i. Move Loans
to Y, Response. Move Branches to X, Factor. Click
OK.$265,000F Critical one-tail2.0001493795j. Click the
red diamond next to Oneway Analysis.$320,000Select t-
Test.$315,000t-Test: Two-Sample Assuming Unequal
Variancesk. ALT-Edit-Copy.$328,000Go to the Data ribbon
and select Data Analysis.l. Go back to this Excel
spreadsheet. In cell P20, paste the JMP report.$285,000Branch
ABranch BSince you rejected H0 on the F-test above, you
willm. From the JMP report, right click on the t-Test
assuming unequal variances graphic. Edit – Copy
graph.$293,000Mean301500290312.5select t-Test: Two-Sample
Assuming Unequal Variancesn. On this Excel spreadsheet,
paste the graph with the upper left corner located on cell
U27.Variance269653846.15384697562500Select the data
streams for each variable, including their labels.Branch
BObservations1416Mark that labels were included.JMP
OUTPUT$304,000Hypothesized Mean Difference0Place the
output in cell C58.$289,000df21It will prompt you that you are
overwriting$296,000t Stat2.2216212668material. Click
'Ok'.Oneway Analysis of Loans By Branches$283,000P(T<=t)
one-tail0.0187168709Notice: the df is NOT equal to n1 + n2 -
2.$281,000t Critical one-tail1.7207435121$301,000P(T<=t)
two-tail0.0374337418$298,000t Critical two-
tail2.0796142053$303,000t Test$301,000t-Statisticp-
16. valueBranch B-Branch
A$288,000$298,000Hypotheses:Assuming unequal
variances$286,000$284,000$283,000Rejection Region:a = 0.05a
= 0.05$277,000df = 21Rej H0 if p-value < 0.05Difference-
11188t Ratio-2.22162$273,000t-coeff =2.0796138447Std Err
Dif5036DF20.73312Rej H0 if t < -2.08 orUpper CL Dif-
707Prob > |t|0.0376t > 2.08Lower CL Dif-21668Prob >
t0.9812Test Statistic:t =2.2216212668p-value
=0.0374337432Confidence0.95Prob < t0.0188Conclusion:Since
the test statistic of t = 2.222 fallsSince the test statistic
ofabovethe upper criticalp-value = .037 falls belowvalue of t =
2.080, we rejecta = 0.05, we rejectTests that the Variances are
EqualH0 with at least 95% confidence.H0 with at least 95%
confidence.Implication:There is enough evidence toThere is
enough evidence toLevelCountStd DevMeanAbsDif to
MeanMeanAbsDif to Medianconclude that the average weeklyto
conclude that the averageBranch
A1416421.1412714.2912500expenses differs for the two
stores.weekly expenses differBranch
B169877.378601.568437.5for the two stores.TestF
RatioDFNumDFDenp-ValueO'Brien[.5]2.71280.1115Brown-
Forsythe1.93581280.1751Levene2.32341280.1387Bartlett3.4123
1.0.0647F Test 2-sided2.763913150.0628Welch's TestWelch
Anova testing Means Equal, allowing Std Devs Not EqualF
RatioDFNumDFDenProb > F4.9356120.7330.0376t Test2.2216
0
:
0
:
2
1
2
1
0
¹
20. 0:
0
BAA
BA
H
H
MBD00AB19EA.unknown
MBD00AB19EB.unknown
MBD000D51B8.unknown
MBD000D395D.unknown
Lab 3 TemplateYour nameDS 123 Lab #3Due:
09/21/2016Question 1.Problem 9.14, p. 355Notice the data for
this problem are located on the second spreadsheet, tab below.
Use theData Analysis Toolkit to develop the descriptive
statistics for the data on that spreadsheet, thencopy the output
and paste it below. By doing so, you won't have to print the data
with your lab.WaitTimeMeanStandard
ErrorMedianModeStandard DeviationSample
VarianceKurtosisSkewnessRangeMinimumMaximumSumCountz
-Statisticp-valueHypotheses:Rejection Region:a = 0.02a =
0.02z-coeff =Rej H0 if p-value < 0.02Don't forget:Rej H0 if z
<??The problemtells usTest Statistic:z =p-value =SIGMA =
2.47Conclusion:Since the test statistic of z = ?? fallsSince the
test statistic of p-value = ?? falls{above/below/between} the
critical value{above/below/between} the critical valueof z = ??,
we {reject/do not reject} H0of a = ??, we {reject/do not reject}
H0with at least 98% confidence.with at least 98%
confidence.Implication:There {is/is not} enough evidence
toThere {is/is not} enough evidence toconclude that the new
21. system hasconclude that the new system hasreduced mean
waiting time toreduced mean waiting time toless than 6
minutes.less than 6 minutes.Question 2.Problem 9.42, pp. 365-
6Population proportion = 0.95Sample x = 316Sample proportion
=Sample n = 400z-Statisticp-valueHypotheses:Rejection
Region:a = 0.01a = 0.01z-coeff =Rej H0 if p-value < 0.01Rej
H0 if z < ??Test Statistic:z =p-value =Conclusion:Since the test
statistic of z =?? fallsSince the test statistic of p-value =??
falls{above/below/between} the critical{above/below/between}
the criticalvalue of z = ??, we {reject/do not reject}value of a =
??, we {reject/do not reject}H0 at least 99% confidence.H0 at
least 99% confidence.Implication:There {is/is not} enough
evidence toThere {is/is not} enough evidence toconclude that
the manufacturer's claimconclude that the manufacturer's
claimis false.is false.
Data 9.14WaitTime1.6WaitTime6.65.6Mean5.465.1Standard
Error0.24754552693.9Median5.254.6Mode5.86.5Standard
Deviation2.47545526886.4Sample
Variance6.12787878798.6Kurtosis-
0.40496039714.2Skewness0.25041480265.8Range11.23.4Minim
um0.49.3Maximum11.67.4Sum5461.8Count1006.25.44.95.40.82
.58.36.16.36.89.82.910.94.73.93.26.52.38.74.73.62.73.70.410.2
2.811.64.33.15.85.64.44.56.78.14.32.25.88.6289.51.34.89.97.91
.17.22.99.17.741.47.85.28.46.34.45.27.46.13.810.77.575.34.54.
51.83.745.72.49.257.27.34.16.73.56.34.33.85.15.5
DS 123 – Lab Assignment # 3
Chaffe-Stengel, Fall 2016
Hypothesis tests: z-tests of one population mean and proportion
1. Read Problem 9.14 on page 355. Assuming the population
a. Use the Data Analysis Toolkit to find the descriptive
statistics for the sample data.
b. Conduct 5-part formal hypothesis tests side-by-side, on the
left in the z-statistic and on the right in the p-value, to test
22. whether the new system has reduced the mean waiting time to
less than six minutes. Use a 98% level of confidence.
2. Read Problem 9.42 on pages 365 – 6. In light of the
manufacturer’s claim that at least 95% of its television sets last
at least five years without repair, conduct 5-part formal
hypothesis tests side-by-side, on the left in the z-statistic and on
the right in the p-value, to test whether there is sufficient
evidence to conclude with 99% confidence that the
manufacturer’s claim is not true.
This assignment is due September 21.
Sheet1TutorialDS 123 Lab #3z-score on sample mean, s known,
measurementsQuestion 1.Suppose the federal government
proposes to give a tax break to automakersproducing midsize
cars that get a mean mileage exceeding 31 mpg. Let m be
themidsize car's mean mileage and assume that s equals 0.8. For
a sample of 49 carsproduced by one automaker, the average
sample mileage was 31.5531 mpg. Use the1% level of
significance to test whether the automaker should be awarded
the tax break.z-Statisticp-valueHypotheses:Rejection Region:a =
0.01a = 0.01z-coeff =2.326347874Rej H0 if p-value < 0.01Rej
H0 if z > 2.326Test Statistic:z =4.839625p-value
=0.0000006504Conclusion:Since the test statistic of z = 4.84
fallsSince the test statistic ofwell beyond the critical value of z
= 2.326,p-value = 0.00000065 falls belowwe reject H0 with at
least 99%alpha = 0.01, we reject H0confidence.with at least
99% confidence.Implication:There is enough evidence to
concludeThere is enough evidence tothat the automaker should
be awardedconclude that the autom,aker shouldthe tax break.be
awarded the tax break.z-score on proportion, countsQuestion
2.Problem 9.39, p. 365. Use a = 0.05 level of significance.# of
people recalling the commercial w/o prompting46Total # people
sampled200Sample proportion =0.23t-Statisticp-
valueHypotheses:Rejection Region:a = 0.05a = 0.05z-coeff
=1.644853627Rej H0 if p-value < 0.05Rej H0 if z > 1.645Test
Statistic:z =1.8405254346p-value
23. =0.0328455668Conclusion:Since the test statistic of z = 1.84
fallsSince the test statistic ofwell beyond the upper critical
value ofp-value = 0.0328 fallsz = 1.645, we reject H0 withbelow
a = 0.05, we reject H0at least 95% confidence.with at least 95%
confidence.Implication:There is enough evidence to
concludeThere is enough evidence tothat the mouthwash
commercialconclude that the mouthwashis
successful.commercial is successful.
Sheet2
Sheet3
31
:
31
:
0
>
£
m
m
A
H
H
31:
31:
0
A
H
H
18
.
26. MBD0001CEFF.unknown
MBD0001BC30.unknown
California State University, Fresno
Name:
DS 123, Fall 2016 MW, IC 09
New thought: If
1
then
2
2
2
1
2
2
2
1
=
=
s
s
s
s
Measures of Center: mode, median, MEAN
Measures of Spread: range, standard deviation, VARIANCE
To decide WHICH t-test of means to do, you have to know if
the variances are equal.
F-Test of
Variances
If variances
27. equal
If variances
not equal
Do t-Test
Assuming
Equal
Variances
Do t-Test
Assuming
Unequal
Variances
VARIANCES
MEANS
Problem I.
(i) State the alternative hypothesis.
(ii) Label the value of the critical bound(s) in F on the bottom
axis.
(iii) Draw and shade the appropriate rejection region.
(iv) State the decision rule.
1
:
2
2
2
1
29. n df = 6, d df = 8
Decision Rule:
1
:
2
2
2
1
0
=
s
s
H
:
A
H
n df = 7, d df = 4
Decision Rule:
Problem II. A tree nursery is experimenting with fertilizer to
increase the growth of trees A sample of 16 two-year-old pines
are grown for 3 years with a cake of fertilizer buried in the soil
30. near its roots. A second sample of 16 two-year-old pines are
grown for 3 years under identical conditions without the
fertilizer. Tree growth for n1 = 16 trees with fertilizer averaged
1
x
= 38.4 inches and a standard deviation of s1 = 9.8 inches. Tree
growth for n2 = 16 trees without fertilizer averaged
2
x
= 23.1 inches and a standard deviation of s2 = 7.4 inches.
Using the 0.05 level of significance, determine whether the
variances of the two samples of tree growth are equal or
unequal.
I.
Hypotheses: H0:
HA:
II. REJECTION REGION
Draw and label the rejection region.
State the decision rule.
31. n df =
d df =
III.
Test Statistic:
IV.
Conclusion (use a complete sentence):
V.
Implication (use a complete sentence):
If you were now going to conduct a test to determine whether
there was a difference in tree growth from using and from not
using fertilizer, which test of means would you use? Mark the
best answer.
z-test, two sample for means
t-test, two sample assuming equal variances
t-test, two sample assuming unequal variances
F-test, two sample for variances
_1440564888.unknown
_1455859829.unknown
_1455859912.unknown
_1411816916.unknown
_1263797965.unknown
California State University, Fresno
Name:
DS 123, Fall 2016 MW, IC 09
New thought: If
32. 1
then
2
2
2
1
2
2
2
1
=
=
s
s
s
s
Measures of Center: mode, median, MEAN
Measures of Spread: range, standard deviation, VARIANCE
To decide WHICH t-test of means to do, you have to know if
the variances are equal.
F-Test of
Variances
If variances
equal
If variances
not equal
Do t-Test
Assuming
Equal
Variances
Do t-Test
Assuming
33. Unequal
Variances
VARIANCES
MEANS
Problem I.
(i) State the alternative hypothesis.
(ii) Label the value of the critical bound(s) in F on the bottom
axis.
(iii) Draw and shade the appropriate rejection region.
(iv) State the decision rule.
1
:
2
2
2
1
0
=
s
s
H
:
A
H
34. n df = 10, d df = 10
Decision Rule:
1
:
2
2
2
1
0
=
s
s
H
:
A
H
0.05
n df = 6, d df = 8
Decision Rule:
35. 1
:
2
2
2
1
0
=
s
s
H
:
A
H
n df = 7, d df = 4
Decision Rule:
Problem II. A tree nursery is experimenting with fertilizer to
increase the growth of trees A sample of 16 two-year-old pines
are grown for 3 years with a cake of fertilizer buried in the soil
near its roots. A second sample of 16 two-year-old pines are
grown for 3 years under identical conditions without the
fertilizer. Tree growth for n1 = 16 trees with fertilizer averaged
1
x
= 38.4 inches and a standard deviation of s1 = 9.8 inches. Tree
growth for n2 = 16 trees without fertilizer averaged
36. 2
x
= 23.1 inches and a standard deviation of s2 = 7.4 inches.
Using the 0.05 level of significance, determine whether the
variances of the two samples of tree growth are equal or
unequal.
I.
Hypotheses: H0:
HA:
II. REJECTION REGION
Draw and label the rejection region.
State the decision rule.
n df =
d df =
III.
Test Statistic:
IV.
Conclusion (use a complete sentence):
V.
37. Implication (use a complete sentence):
If you were now going to conduct a test to determine whether
there was a difference in tree growth from using and from not
using fertilizer, which test of means would you use? Mark the
best answer.
z-test, two sample for means
t-test, two sample assuming equal variances
t-test, two sample assuming unequal variances
F-test, two sample for variances
_1440564888.unknown
_1455859829.unknown
_1455859912.unknown
_1411816916.unknown
_1263797965.unknown
California State University, Fresno
Name:
DS 123 MW, Fall 2016, IC 07
Problem 1.
(i) State the alternative hypothesis.
(ii) Label the value of the critical bound(s) in z on the bottom
axis.
38. (iii) Draw, label, and shade the appropriate rejection region.
(iv) State the decision rule.
a.
13
.
0
:
0
³
p
H
:
A
H
Decision Rule:
b.
90
.
0
:
0
£
p
H
39. :
A
H
Decision Rule:
c. .
267
.
0
:
0
=
p
H
:
A
H
Decision Rule:
Problem 2. A manufacturer of drip irrigation controllers is
interested in reporting an interval estimate for the proportion of
manufactured units that are defective. A random sample of 500
controllers determined that 10 were defective.
a. What is the point estimate for the proportion of
2a.
40. manufactured units that are defective?
b. Between what two bounds can we be 95% confident that the
interval estimate contains the true defective rate of all drip
irrigation controllers?
2b. Lower bound:
2b. Upper bound:
Problem 3. The policy of a regional transit authority is to add a
bus route if more than 55 percent of the potential commuters
indicate they would use the particular route. A sample of 70
commuters revealed that 49 would use a proposed route into the
downtown area. Using the 0.05 level of significance, determine
whether the proposed route satisfies the transit authority’s
criterion.
3.
State the appropriate values from the problem.
a.
Population proportion, p =
b.
Sample proportion
EMBED Equation.3
=
p
ˆ
c.
41. Sample size,
=
n
4.
What are the best hypotheses to use to test whether the new
route meets the criterion established by the regional transit
authority?
(a)
55
.
0
:
55
.
0
:
0
¹
=
p
H
p
H
A
(b)
70
.
45. t = 2.382
(d)
t = 2.649
Reject H0 if t > 2.382
Reject H0 if t > 2.649
6.
Which is the best calculation to use in computing the value of
the test statistic?
(a)
70
45
.
0
55
.
0
)
55
.
0
70
.
0
(
×
-
=
z
(b)
48. 70
30
.
0
70
.
0
)
70
.
0
55
.
0
(
×
-
=
t
7.
If the value of the test statistic is 2.52, what implications should
be drawn?
(a)
There is enough evidence to conclude the proposed route
satisfies the transit authority’s criterion.
(b)
There is enough evidence to conclude the proposed route does
not satisfy the transit authority’s criterion.
(c)
There is not enough evidence to conclude the proposed route
satisfies the transit authority’s criterion.
49. (d)
There is not enough evidence to conclude the proposed route
does not satisfy the transit authority’s criterion.
8.
True
False
The transit authority should not add the new bus route.
_1527854139.unknown
_1527854177.unknown
_1527854199.unknown
_1527875437.unknown
_1527875444.unknown
_1527875893.unknown
_1527875912.unknown
_1527875922.unknown
_1527875941.unknown
_1527875979.unknown
_1527854122.unknown
_1527854110.unknown
_1527854071.unknown
_1295507959.unknown
_1263798065.unknown
_1263798056.unknown
_1263798043.unknown
_1263797977.unknown
_1263797965.unknown
_1263797929.unknown