Solution
From the given correlation matrix
The cyl variable is most highly correlated with the response variable mpg having correlation r = -0.8521620.
Plz like.........
6. The following data was extracted from the 1974 Motor Trend US magazine, and com- prises...
Please show full details steps for better understanding. Thank you. 6. The following data was extracted from the 1974 Motor Trend US magazine, and com- prises fuel consumption , mpg (response) and 6 aspects of automobile design and per- formance (explanatory variables) for 32 automobiles (1973-74 models). mpg Miles/(US) gallon cyl Number of cylinders disp Displacement (cu.in.) hp Gross horsepower am Transmission (0 = automatic, 1 = manual) 50 150 250 mpg 10 25 200 cyl 00 00000 ood 00...
The Motor Trend Car Road Tests dataset mtcars, in faraway R package, was extracted from the 1974 Motor Trend US magazine, and comprises fuel consumption and 10 aspects of automobile design and performance for 32 automobiles (1973–74 models). The data frame has 32 observation on 11 (numeric) variables: mpg: Miles/(US) gallon; cyl: Number of cylinders; disp: Displacement (cu.in.); hp: Gross horsepower; drat: Rear axle ratio; wt: Weight (1000 lbs); qsec: 1/4 mile time; vs: Engine (0 = V-shaped, 1 =...
The data file Motor Trend is a random sample of 32 automobiles. The miles per gallon (mpg), weight (wt), horsepower (hp) and type of transmission (manual or automatic) is recorded for each sampled automobile. The file is available on Blackboard. Transmission is a categorical variable. Code the variable transmission so that it can be used in a regression model. Your coding should assign a 1 to manual transmission and a 0 to automatic. Develop a regression model with mpg as...