R Output: > t.test(data1,data2, mu = -8, var.equal = FALSE, alternative = "less", conf.level = 0.971) Welch Two Sample t-test data: data1 and data2 t = -1.955, df = 24.134, p-value = 0.03113 alternative hypothesis: true difference in means is less than -8 97.1 percent confidence interval: -Inf -7.964374 sample estimates: mean of x mean of y 115.1192 125.0925 (d) State your conclusion. (e) If you were doing this hypothesis test using critical regions instead (everything else being the same), would you end up with the same decision and conclusion? Why or why not?

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Setup: JP took two random samples from different populations.
Sample 1: A random sample of size n1 = 15 is taken from an approximate normal
population. From our sample, we find a variance of s1^2= 11.1672, and a mean of x¯1 = 115.1192.
Sample 2: A second random sample of size n2 = 23 is taken from a different
approximate normal population. From our second sample, we find a variance of
s2^2 = 6.310136, and a mean of ¯x2 = 125.0925.
Goal: We wish to test the hypothesis that µ1 − µ2 = −8,
against the alternative µ1 − µ2 < −8 at a significance level of 2.9%.
R Output:
> t.test(data1,data2, mu = -8, var.equal = FALSE,
alternative = "less", conf.level = 0.971)
Welch Two Sample t-test
data: data1 and data2
t = -1.955, df = 24.134, p-value = 0.03113
alternative hypothesis: true difference in means is less than -8
97.1 percent confidence interval:
-Inf -7.964374
sample estimates:
mean of x mean of y
115.1192 125.0925

(d) State your conclusion.
(e) If you were doing this hypothesis test using critical regions instead (everything else
being the same), would you end up with the same decision and conclusion? Why or
why not? 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman