1) analyze the data using pearson correlation coefficient (show the output of the analysis)  2) describe the obtained results 3) make a conclusion about whether your hypothesis was supported.   hypothesis: Our hypothesis is if you watch less TV in a day, then you will sleep more hours per night.

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

1) analyze the data using pearson correlation coefficient (show the output of the analysis)

 2) describe the obtained results

3) make a conclusion about whether your hypothesis was supported.  

hypothesis: Our hypothesis is if you watch less TV in a day, then you will sleep more hours per night.

This table presents data on the following categories for 10 different subjects:

1. **Exercise**
2. **Junk Food Consumption**
3. **TV Watching Hours**
4. **Sleep Duration**
5. **Fruits and Vegetables Intake**

Each column represents a specific category, while each row corresponds to data from one subject.

- **Exercise**: Rated on a scale of 0 to 9, indicating the level of physical activity performed.
- **Junk Food**: Rated on a scale of 0 to 9, indicating the frequency of junk food consumption.
- **TV**: Rated on a scale of 0 to 5, indicating the number of hours spent watching TV.
- **Sleep**: Rated on a scale of 0 to 8, indicating the number of hours of sleep.
- **Fruits and Vegetables**: Rated on a scale of 0 to 7, indicating the intake frequency of fruits and vegetables.

The values in each cell denote the respective scores for each category per subject. 

Here is a detailed breakdown:

- Subject 1: 
  - Exercise: 7
  - Junk Food: 7
  - TV: 5
  - Sleep: 5
  - Fruits and Vegetables: 4

- Subject 2: 
  - Exercise: 2
  - Junk Food: 4
  - TV: 4
  - Sleep: 5
  - Fruits and Vegetables: 2

- Subject 3: 
  - Exercise: 5
  - Junk Food: 4
  - TV: 3
  - Sleep: 6
  - Fruits and Vegetables: 3

- Subject 4: 
  - Exercise: 7
  - Junk Food: 5
  - TV: 0
  - Sleep: 5
  - Fruits and Vegetables: 7

- Subject 5:
  - Exercise: 9
  - Junk Food: 0
  - TV: 0
  - Sleep: 8
  - Fruits and Vegetables: 1

- Subject 6:
  - Exercise: 5
  - Junk Food: 6
  - TV: 4
  - Sleep: 7
  - Fruits and Vegetables: 2

- Subject 7:
  - Exercise: 3
  - Junk
Transcribed Image Text:This table presents data on the following categories for 10 different subjects: 1. **Exercise** 2. **Junk Food Consumption** 3. **TV Watching Hours** 4. **Sleep Duration** 5. **Fruits and Vegetables Intake** Each column represents a specific category, while each row corresponds to data from one subject. - **Exercise**: Rated on a scale of 0 to 9, indicating the level of physical activity performed. - **Junk Food**: Rated on a scale of 0 to 9, indicating the frequency of junk food consumption. - **TV**: Rated on a scale of 0 to 5, indicating the number of hours spent watching TV. - **Sleep**: Rated on a scale of 0 to 8, indicating the number of hours of sleep. - **Fruits and Vegetables**: Rated on a scale of 0 to 7, indicating the intake frequency of fruits and vegetables. The values in each cell denote the respective scores for each category per subject. Here is a detailed breakdown: - Subject 1: - Exercise: 7 - Junk Food: 7 - TV: 5 - Sleep: 5 - Fruits and Vegetables: 4 - Subject 2: - Exercise: 2 - Junk Food: 4 - TV: 4 - Sleep: 5 - Fruits and Vegetables: 2 - Subject 3: - Exercise: 5 - Junk Food: 4 - TV: 3 - Sleep: 6 - Fruits and Vegetables: 3 - Subject 4: - Exercise: 7 - Junk Food: 5 - TV: 0 - Sleep: 5 - Fruits and Vegetables: 7 - Subject 5: - Exercise: 9 - Junk Food: 0 - TV: 0 - Sleep: 8 - Fruits and Vegetables: 1 - Subject 6: - Exercise: 5 - Junk Food: 6 - TV: 4 - Sleep: 7 - Fruits and Vegetables: 2 - Subject 7: - Exercise: 3 - Junk
The image displays a data table commonly seen in datasets used for educational purposes. Below is a detailed transcription and explanation of its content:

### Table Structure:

- **Name**: Lists the variables being measured.
  - 1. Exercise
  - 2. Junk_food
  - 3. TV
  - 4. Sleep
  - 5. Fruits_and_vegetables

- **Type**: Indicates the data type for each variable, here all are "Numeric".
  
- **Width**: Specifies the width of data entries, set as 8 for all variables.
  
- **Decimals**: Defines the number of decimal places, which is 0 for each, indicating whole numbers.

- **Label**: Describes the question or measurement each variable represents.
  - Exercise: "How often do you exercise?"
  - Junk_food: "How often do you eat junk food?"
  - TV: "How many hours of TV do you watch a day, on average?"
  - Sleep: "How many hours of TV do you sleep each night, on average?" *(This appears to be a possible error in the label and might refer separately to sleep habits.)*
  - Fruits_and_vegetables: "How many servings of fruits and vegetables do you eat each day?"
  
- **Values**: Indicates if there are any predefined values; marked as "None" for all variables.
  
- **Missing**: Notes any missing data specifications; marked "None" here.

- **Columns**: Specifies the number of columns; 8 for most variables, except 18 for Fruits_and_vegetables.

- **Align**: Describes the alignment of the data entries, here all are "Right".

- **Measure**: Indicates the level of measurement for statistical analysis.
  - Exercise and Junk_food are "Ordinal", suggesting a ranked order.
  - TV, Sleep, and Fruits_and_vegetables are "Scale", implying continuous data.
  
- **Role**: Specifies the role of the data in analysis, here all are marked as "Input".

This table is an example of how survey or observational study data might be structured for analysis in fields like health science, psychology, or nutrition education. Consistent formatting helps in seamless data entry and processing.
Transcribed Image Text:The image displays a data table commonly seen in datasets used for educational purposes. Below is a detailed transcription and explanation of its content: ### Table Structure: - **Name**: Lists the variables being measured. - 1. Exercise - 2. Junk_food - 3. TV - 4. Sleep - 5. Fruits_and_vegetables - **Type**: Indicates the data type for each variable, here all are "Numeric". - **Width**: Specifies the width of data entries, set as 8 for all variables. - **Decimals**: Defines the number of decimal places, which is 0 for each, indicating whole numbers. - **Label**: Describes the question or measurement each variable represents. - Exercise: "How often do you exercise?" - Junk_food: "How often do you eat junk food?" - TV: "How many hours of TV do you watch a day, on average?" - Sleep: "How many hours of TV do you sleep each night, on average?" *(This appears to be a possible error in the label and might refer separately to sleep habits.)* - Fruits_and_vegetables: "How many servings of fruits and vegetables do you eat each day?" - **Values**: Indicates if there are any predefined values; marked as "None" for all variables. - **Missing**: Notes any missing data specifications; marked "None" here. - **Columns**: Specifies the number of columns; 8 for most variables, except 18 for Fruits_and_vegetables. - **Align**: Describes the alignment of the data entries, here all are "Right". - **Measure**: Indicates the level of measurement for statistical analysis. - Exercise and Junk_food are "Ordinal", suggesting a ranked order. - TV, Sleep, and Fruits_and_vegetables are "Scale", implying continuous data. - **Role**: Specifies the role of the data in analysis, here all are marked as "Input". This table is an example of how survey or observational study data might be structured for analysis in fields like health science, psychology, or nutrition education. Consistent formatting helps in seamless data entry and processing.
Expert Solution
Step 1

Null hypothesis : There is no relationship between the number of hours you watch TV and number of hours you sleep.

Ho : ρ = 0

Alternative hypothesis : There is a negative relationship between the two , that is if you watch less TV, you sleep more.

H1: ρ < 0 ( one-tailed)

1) the Pearson correlation coefficient is computed by :

Analyze - Correlate - Bivariate 

Then transfer TV and Sleep to the variable dialog box,

Tick Pearson and one-tailed then click OK.

the results obtained are attached below :

Statistics homework question answer, step 1, image 1

Statistics homework question answer, step 1, image 2

 

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 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
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