We want to examine the relationship between body temperature Y and heart rate X. Further, we would like to use heart rate to predict the body temperature. ID Gender Age HeartRate Temperature 1 M 33 69 97 2 M 32 72 98.8 3 M 42 68 96.2 4 F 33 75 97.8 5 F 26 68 98.8 6 M 37 79 101.3 7 F 32 71 97.8 8 F 45 73 97.4 9 F 31 77 99.2 10 M 49 81 99.2 11 M 40 69 97.5 12 F 45 70 97.7 13 F 49 71 98.3 14 F 37 74 98.8 15 F 47 79 98.5 16 M 34 73 97.3 17 F 41 71 98.9 18 M 33 77 98.6 19 F 38 70 99.2 20 F 31 69 97.9 21 F 41 67 97.1 22 F 45 67 97 23 F 36 74 98.9 24 M 35 77 99 25 F 28 76 97.9 26 M 25 79 98 27 M 30 76 97 28 M 41 61 97.6 29 M 37 84 99 30 F 37 67 97.8 31 F 34 73 97.9 32 F 34 81 100 33 M 50 68 97.1 34 M 48 76 98.9 35 M 34 80 98.6 36 F 36 68 97.7 37 F 21 70 98.3 38 M 23 79 98.9 39 F 42 76 99.4 40 F 33 75 98.6 41 M 37 73 97.2 42 M 33 72 98 43 F 36 77 99.3 44 M 43 81 99.4 45 M 36 73 98.8 46 M 29 64 98.5 47 F 36 69 98.4 48 F 44 80 98.6 49 F 30 80 97 50 F 38 67 98.2 51 M 41 78 99.6 52 F 43 73 98.9 53 M 42 77 97.3 54 M 41 66 96.5 55 F 36 71 98.2 56 F 34 78 99.3 57 F 36 69 98.2 58 M 41 72 97.8 59 F 41 73 98.3 60 F 40 73 97.4 61 F 40 72 98.2 62 M 33 75 98.3 63 M 35 75 98.1 64 F 37 68 98.8 65 M 43 82 98.8 66 M 31 67 97.7 67 F 44 75 96.8 68 M 47 78 98.3 69 M 44 72 97.7 70 M 37 80 99.1 71 F 30 67 97.9 72 F 34 80 98.3 73 M 32 74 98.8 74 M 44 78 97.4 75 M 46 87 96.9 76 M 45 74 98 77 F 35 71 98.3 78 M 42 69 98.4 79 F 46 87 100.8 80 M 22 81 100.3 81 M 49 75 97 82 F 49 83 99.2 83 F 43 78 99.8 84 M 31 70 99 85 F 36 76 98.8 86 M 38 78 100.6 87 M 40 75 98 88 M 40 75 98.5 89 F 44 70 97.1 90 M 48 72 97 91 F 34 79 98.7 92 F 30 78 99.9 93 M 25 67 97 94 M 38 63 98.6 95 F 39 69 98.4 96 M 42 69 97.8 97 F 38 69 99.7 98 F 40 79 98.7 99 F 34 71 99.2 100 M 35 62 97.3 Create a plot to show the relationship between heart rate and temperature Does these seem to be a straight line relationship between heart rate and temperature? Calculate the correlation between heart rate and the temperature. How strong is the correlation?
We want to examine the relationship between body temperature Y and heart rate X. Further, we would like to use heart rate to predict the body temperature. ID Gender Age HeartRate Temperature 1 M 33 69 97 2 M 32 72 98.8 3 M 42 68 96.2 4 F 33 75 97.8 5 F 26 68 98.8 6 M 37 79 101.3 7 F 32 71 97.8 8 F 45 73 97.4 9 F 31 77 99.2 10 M 49 81 99.2 11 M 40 69 97.5 12 F 45 70 97.7 13 F 49 71 98.3 14 F 37 74 98.8 15 F 47 79 98.5 16 M 34 73 97.3 17 F 41 71 98.9 18 M 33 77 98.6 19 F 38 70 99.2 20 F 31 69 97.9 21 F 41 67 97.1 22 F 45 67 97 23 F 36 74 98.9 24 M 35 77 99 25 F 28 76 97.9 26 M 25 79 98 27 M 30 76 97 28 M 41 61 97.6 29 M 37 84 99 30 F 37 67 97.8 31 F 34 73 97.9 32 F 34 81 100 33 M 50 68 97.1 34 M 48 76 98.9 35 M 34 80 98.6 36 F 36 68 97.7 37 F 21 70 98.3 38 M 23 79 98.9 39 F 42 76 99.4 40 F 33 75 98.6 41 M 37 73 97.2 42 M 33 72 98 43 F 36 77 99.3 44 M 43 81 99.4 45 M 36 73 98.8 46 M 29 64 98.5 47 F 36 69 98.4 48 F 44 80 98.6 49 F 30 80 97 50 F 38 67 98.2 51 M 41 78 99.6 52 F 43 73 98.9 53 M 42 77 97.3 54 M 41 66 96.5 55 F 36 71 98.2 56 F 34 78 99.3 57 F 36 69 98.2 58 M 41 72 97.8 59 F 41 73 98.3 60 F 40 73 97.4 61 F 40 72 98.2 62 M 33 75 98.3 63 M 35 75 98.1 64 F 37 68 98.8 65 M 43 82 98.8 66 M 31 67 97.7 67 F 44 75 96.8 68 M 47 78 98.3 69 M 44 72 97.7 70 M 37 80 99.1 71 F 30 67 97.9 72 F 34 80 98.3 73 M 32 74 98.8 74 M 44 78 97.4 75 M 46 87 96.9 76 M 45 74 98 77 F 35 71 98.3 78 M 42 69 98.4 79 F 46 87 100.8 80 M 22 81 100.3 81 M 49 75 97 82 F 49 83 99.2 83 F 43 78 99.8 84 M 31 70 99 85 F 36 76 98.8 86 M 38 78 100.6 87 M 40 75 98 88 M 40 75 98.5 89 F 44 70 97.1 90 M 48 72 97 91 F 34 79 98.7 92 F 30 78 99.9 93 M 25 67 97 94 M 38 63 98.6 95 F 39 69 98.4 96 M 42 69 97.8 97 F 38 69 99.7 98 F 40 79 98.7 99 F 34 71 99.2 100 M 35 62 97.3 Create a plot to show the relationship between heart rate and temperature Does these seem to be a straight line relationship between heart rate and temperature? Calculate the correlation between heart rate and the temperature. How strong is the correlation?
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Topic Video
Question
We want to examine the relationship between body temperature Y and heart
rate X. Further, we would like to use heart rate to predict the body temperature.
ID | Gender | Age | HeartRate | Temperature |
1 | M | 33 | 69 | 97 |
2 | M | 32 | 72 | 98.8 |
3 | M | 42 | 68 | 96.2 |
4 | F | 33 | 75 | 97.8 |
5 | F | 26 | 68 | 98.8 |
6 | M | 37 | 79 | 101.3 |
7 | F | 32 | 71 | 97.8 |
8 | F | 45 | 73 | 97.4 |
9 | F | 31 | 77 | 99.2 |
10 | M | 49 | 81 | 99.2 |
11 | M | 40 | 69 | 97.5 |
12 | F | 45 | 70 | 97.7 |
13 | F | 49 | 71 | 98.3 |
14 | F | 37 | 74 | 98.8 |
15 | F | 47 | 79 | 98.5 |
16 | M | 34 | 73 | 97.3 |
17 | F | 41 | 71 | 98.9 |
18 | M | 33 | 77 | 98.6 |
19 | F | 38 | 70 | 99.2 |
20 | F | 31 | 69 | 97.9 |
21 | F | 41 | 67 | 97.1 |
22 | F | 45 | 67 | 97 |
23 | F | 36 | 74 | 98.9 |
24 | M | 35 | 77 | 99 |
25 | F | 28 | 76 | 97.9 |
26 | M | 25 | 79 | 98 |
27 | M | 30 | 76 | 97 |
28 | M | 41 | 61 | 97.6 |
29 | M | 37 | 84 | 99 |
30 | F | 37 | 67 | 97.8 |
31 | F | 34 | 73 | 97.9 |
32 | F | 34 | 81 | 100 |
33 | M | 50 | 68 | 97.1 |
34 | M | 48 | 76 | 98.9 |
35 | M | 34 | 80 | 98.6 |
36 | F | 36 | 68 | 97.7 |
37 | F | 21 | 70 | 98.3 |
38 | M | 23 | 79 | 98.9 |
39 | F | 42 | 76 | 99.4 |
40 | F | 33 | 75 | 98.6 |
41 | M | 37 | 73 | 97.2 |
42 | M | 33 | 72 | 98 |
43 | F | 36 | 77 | 99.3 |
44 | M | 43 | 81 | 99.4 |
45 | M | 36 | 73 | 98.8 |
46 | M | 29 | 64 | 98.5 |
47 | F | 36 | 69 | 98.4 |
48 | F | 44 | 80 | 98.6 |
49 | F | 30 | 80 | 97 |
50 | F | 38 | 67 | 98.2 |
51 | M | 41 | 78 | 99.6 |
52 | F | 43 | 73 | 98.9 |
53 | M | 42 | 77 | 97.3 |
54 | M | 41 | 66 | 96.5 |
55 | F | 36 | 71 | 98.2 |
56 | F | 34 | 78 | 99.3 |
57 | F | 36 | 69 | 98.2 |
58 | M | 41 | 72 | 97.8 |
59 | F | 41 | 73 | 98.3 |
60 | F | 40 | 73 | 97.4 |
61 | F | 40 | 72 | 98.2 |
62 | M | 33 | 75 | 98.3 |
63 | M | 35 | 75 | 98.1 |
64 | F | 37 | 68 | 98.8 |
65 | M | 43 | 82 | 98.8 |
66 | M | 31 | 67 | 97.7 |
67 | F | 44 | 75 | 96.8 |
68 | M | 47 | 78 | 98.3 |
69 | M | 44 | 72 | 97.7 |
70 | M | 37 | 80 | 99.1 |
71 | F | 30 | 67 | 97.9 |
72 | F | 34 | 80 | 98.3 |
73 | M | 32 | 74 | 98.8 |
74 | M | 44 | 78 | 97.4 |
75 | M | 46 | 87 | 96.9 |
76 | M | 45 | 74 | 98 |
77 | F | 35 | 71 | 98.3 |
78 | M | 42 | 69 | 98.4 |
79 | F | 46 | 87 | 100.8 |
80 | M | 22 | 81 | 100.3 |
81 | M | 49 | 75 | 97 |
82 | F | 49 | 83 | 99.2 |
83 | F | 43 | 78 | 99.8 |
84 | M | 31 | 70 | 99 |
85 | F | 36 | 76 | 98.8 |
86 | M | 38 | 78 | 100.6 |
87 | M | 40 | 75 | 98 |
88 | M | 40 | 75 | 98.5 |
89 | F | 44 | 70 | 97.1 |
90 | M | 48 | 72 | 97 |
91 | F | 34 | 79 | 98.7 |
92 | F | 30 | 78 | 99.9 |
93 | M | 25 | 67 | 97 |
94 | M | 38 | 63 | 98.6 |
95 | F | 39 | 69 | 98.4 |
96 | M | 42 | 69 | 97.8 |
97 | F | 38 | 69 | 99.7 |
98 | F | 40 | 79 | 98.7 |
99 | F | 34 | 71 | 99.2 |
100 | M | 35 | 62 | 97.3 |
- Create a plot to show the relationship between heart rate and temperature
- Does these seem to be a straight line relationship between heart rate and temperature?
- Calculate the
correlation between heart rate and the temperature. How strong is the correlation? - Use an appropriate test to test the hypothesis H0: , where is the population correlation.
- Use the “BodyTemperature.csv” data set to build a simple linear regression model for body temperature using heart rate as the predictor.
- Interpret the estimate of regression coefficient and examine its statistical significance.
- Find the 95% confidence interval for the regression coefficient.
- Find the value of R2 and show that its relationship with the sample
correlation coefficient .
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 6 steps with 7 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
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
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman