The data shown in the following table are highway gasoline mileage performance and engine displacement for a sample of 20 cars. Make Model MPG (highway) Engine Displacement (in3) Acura Legend 30 97 BMW 735i 19 209 Buick Regal 29 173 Chevrolet Cavalier 32 121 Chevrolet Celebrity 30 151 Chrysler Conquest 24 156 Dodge Aries 30 135 Dodge Dynasty 28 181 Ford Escort 31 114 Ford Mustang 25 302 Ford Taurus 27 153 Ford Tempo 33 90 Honda Accord 30 119 Mazda RX-7 23 80 Mercedes 260E 24 159 Mercury Tracer 29 97 Nissan Maxima 26 181 Oldsmobile Cutlass 29 173 Plymouth Laser 37 122 Pontiac Grand Prix 29 173 Calculate the sample correlation coefficient for highway miles per gallon and engine displacement.
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.
The data shown in the following table are highway gasoline mileage performance and engine displacement for a sample of 20 cars.
Make |
Model |
MPG (highway) |
Engine Displacement (in3) |
Acura |
Legend |
30 |
97 |
BMW |
735i |
19 |
209 |
Buick |
Regal |
29 |
173 |
Chevrolet |
Cavalier |
32 |
121 |
Chevrolet |
Celebrity |
30 |
151 |
Chrysler |
Conquest |
24 |
156 |
Dodge |
Aries |
30 |
135 |
Dodge |
Dynasty |
28 |
181 |
Ford |
Escort |
31 |
114 |
Ford |
Mustang |
25 |
302 |
Ford |
Taurus |
27 |
153 |
Ford |
Tempo |
33 |
90 |
Honda |
Accord |
30 |
119 |
Mazda |
RX-7 |
23 |
80 |
Mercedes |
260E |
24 |
159 |
Mercury |
Tracer |
29 |
97 |
Nissan |
|
26 |
181 |
Oldsmobile |
Cutlass |
29 |
173 |
Plymouth |
Laser |
37 |
122 |
Pontiac |
Grand Prix |
29 |
173 |
Calculate the sample
Step by step
Solved in 2 steps with 1 images