4) Conduct a hypothesis test on H0: slope = 0; Ha: slope positive or negative (your hypothesis from part 2).  Using α = 0.05, is there a significant linear relationship between x and y (paste your output to support your answer)?  What is the linear model (y = mx + b, fill in the numbers for m and b)?  In the context of the problem, what is the interpretation of the slope, m?             Select Stat menu option across the top and then select Regression -> Simple Linear             Enter your x and y variables             Under the hypothesis test section go to Ha slope and specify the direction of the relationship (< or >)             Select Compute sodium protein 130    10 15    2 260    9 140    14 200    1 180    1.5 125    1 210    2 200    4 210    5 220    0 290    2 210    0 140    2 180    0 280    0 290    1 90    1 180    0 140    4 80    1 220    1 140    2 190    1 125    1 200    1 0    3 160    5 240    5 135    0 45    0 280    0 140    3 170    3 75    3 220    1 250    1.5 180    0 170    1 170    2 260    0 150    2 180    0 0    0 95    3 150    3 150    3 220    2 190    0 220    3 170    3 170    1.5 200    6 320    1 0    0 0    1 135    2 0    2.7 210    5 140    2.5 0    2 240    0 290    0 0    3 0    4 0    3 70    1 230    1 15    3 200    0 190    4 200    3 250    0 140    0 230    3 200    3 200    1

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

4) Conduct a hypothesis test on H0: slope = 0; Ha: slope positive or negative (your hypothesis from part 2).  Using α = 0.05, is there a significant linear relationship between x and y (paste your output to support your answer)?  What is the linear model (y = mx + b, fill in the numbers for m and b)?  In the context of the problem, what is the interpretation of the slope, m?

            Select Stat menu option across the top and then select Regression -> Simple Linear

            Enter your x and y variables

            Under the hypothesis test section go to Ha slope and specify the direction of the relationship (< or >)

            Select Compute

sodium protein

130    10
15    2
260    9
140    14
200    1
180    1.5
125    1
210    2
200    4
210    5
220    0
290    2
210    0
140    2
180    0
280    0
290    1
90    1
180    0
140    4
80    1
220    1
140    2
190    1
125    1
200    1
0    3
160    5
240    5
135    0
45    0
280    0
140    3
170    3
75    3
220    1
250    1.5
180    0
170    1
170    2
260    0
150    2
180    0
0    0
95    3
150    3
150    3
220    2
190    0
220    3
170    3
170    1.5
200    6
320    1
0    0
0    1
135    2
0    2.7
210    5
140    2.5
0    2
240    0
290    0
0    3
0    4
0    3
70    1
230    1
15    3
200    0
190    4
200    3
250    0
140    0
230    3
200    3
200    1

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 6 steps

Blurred answer
Similar questions
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