Forest bathing, also called Shinrin-yoke, is the practice of taking short, leisurely walks in a forest to enhance positive health. To test if forest bathing and mood are related, a clinical psychologist records the time spent forest bathing in minutes (X) and the corresponding change I mood using a standard self report affect grid (Y) among 8 patients with a history of depression. The data are given in the following table. times spent forest bathing (in minutes) change in mood X Y 32 +24 24 +20 28 +25 17 +22 12 +16 Compute the method of least squares to find the equation of the regression line. Use the regression equation computed in part (a) to determine the predicted change in mood of a person who spends 20 minutes forest bathing.

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
icon
Concept explainers
Question

Forest bathing, also called Shinrin-yoke, is the practice of taking short, leisurely walks in a forest to enhance positive health. To test if forest bathing and mood are related, a clinical psychologist records the time spent forest bathing in minutes (X) and the corresponding change I mood using a standard self report affect grid (Y) among 8 patients with a history of depression. The data are given in the following table.

times spent forest bathing

(in minutes)

change in mood
X Y
32 +24
24 +20
28 +25
17 +22
12 +16
  1. Compute the method of least squares to find the equation of the regression line.
  2. Use the regression equation computed in part (a) to determine the predicted change in mood of a person who spends 20 minutes forest bathing.
Expert Solution
Step 1

Solution:

1.

Let X be the time spent forest bathing and Y be the change in mood.

The given data is

Statistics homework question answer, step 1, image 1

Step 2

The regression equation is obtained by using excel.

Procedure:

  1. Enter the data in excel.
  2. Click on Data>Data analysis>Regression.
  3. Enter the Y column in input Y range ($B$1:$B$6).
  4. Enter the X column in input X range ($A$1:$A$6).
  5. Check on labels.
  6. Click on ok.

Output:

Statistics homework question answer, step 2, image 1

From the excel output, the slope is 0.364 and intercept is 13.174.

Statistics homework question answer, step 2, image 2

steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Knowledge Booster
Correlation, Regression, and Association
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.
Similar questions
  • SEE MORE 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