a-1. Compute the following correlation matrix. (Round your answers to 4 decimal places.) Correlation Matrix Amount of Tip ($) Amount of Bill ($) Diners Amount of Tip ($) Amount of Bill ($) Diners
Correlation
Correlation defines a relationship between two independent variables. It tells the degree to which variables move in relation to each other. When two sets of data are related to each other, there is a correlation between them.
Linear Correlation
A correlation is used to determine the relationships between numerical and categorical variables. In other words, it is an indicator of how things are connected to one another. The correlation analysis is the study of how variables are related.
Regression Analysis
Regression analysis is a statistical method in which it estimates the relationship between a dependent variable and one or more independent variable. In simple terms dependent variable is called as outcome variable and independent variable is called as predictors. Regression analysis is one of the methods to find the trends in data. The independent variable used in Regression analysis is named Predictor variable. It offers data of an associated dependent variable regarding a particular outcome.
a-1.
The correlation values is obtained using EXCEL. The software procedure is given below:
- Enter the data.
- Select Data > Data Analysis >Correlation> OK.
- Enter Input Range as A1:C31 for variables Amount of tip, Amount of bill and Number of dinners.
- Mark Labels in First Row.
- Click OK.
The output using EXCEL is as follows:
From the output, the correlation matrix is,
Amount of Tip | Amount of Bill | Dinners | |
Amount of tip | 1 | - | - |
Amount of Bill | 0.9151 | 1 | - |
Dinners | 0.8726 | 0.8506 | 1 |
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 3 images