Question

The data file Motor Trend is a random sample of 32 automobiles.   The miles per gallon ...

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.

  1. 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.
  2. Develop a regression model with mpg as the dependent variable and hp, and transmission as the independent variables. Then answer the following questions:
  1. Are each of the independent variables significant at the 0.05 level of significance? Conduct the appropriate tests.
  2. For an automobile with the same horsepower what difference, on average, does a manual transmission have on mpg versus an automatic transmission?

data:

mpg cyl disp hp drat wt qsec vs am gear carb
Mazda RX4 21 6 160 110 3.9 2.62 16.46 0 1 4 4
Mazda RX4 Wag 21 6 160 110 3.9 2.875 17.02 0 1 4 4
Datsun 710 22.8 4 108 93 3.85 2.32 18.61 1 1 4 1
Hornet 4 Drive 21.4 6 258 110 3.08 3.215 19.44 1 0 3 1
Hornet Sportabout 18.7 8 360 175 3.15 3.44 17.02 0 0 3 2
Valiant 18.1 6 225 105 2.76 3.46 20.22 1 0 3 1
Duster 360 14.3 8 360 245 3.21 3.57 15.84 0 0 3 4
Merc 240D 24.4 4 146.7 62 3.69 3.19 20 1 0 4 2
Merc 230 22.8 4 140.8 95 3.92 3.15 22.9 1 0 4 2
Merc 280 19.2 6 167.6 123 3.92 3.44 18.3 1 0 4 4
Merc 280C 17.8 6 167.6 123 3.92 3.44 18.9 1 0 4 4
Merc 450SE 16.4 8 275.8 180 3.07 4.07 17.4 0 0 3 3
Merc 450SL 17.3 8 275.8 180 3.07 3.73 17.6 0 0 3 3
Merc 450SLC 15.2 8 275.8 180 3.07 3.78 18 0 0 3 3
Cadillac Fleetwood 10.4 8 472 205 2.93 5.25 17.98 0 0 3 4
Lincoln Continental 10.4 8 460 215 3 5.424 17.82 0 0 3 4
Chrysler Imperial 14.7 8 440 230 3.23 5.345 17.42 0 0 3 4
Fiat 128 32.4 4 78.7 66 4.08 2.2 19.47 1 1 4 1
Honda Civic 30.4 4 75.7 52 4.93 1.615 18.52 1 1 4 2
Toyota Corolla 33.9 4 71.1 65 4.22 1.835 19.9 1 1 4 1
Toyota Corona 21.5 4 120.1 97 3.7 2.465 20.01 1 0 3 1
Dodge Challenger 15.5 8 318 150 2.76 3.52 16.87 0 0 3 2
AMC Javelin 15.2 8 304 150 3.15 3.435 17.3 0 0 3 2
Camaro Z28 13.3 8 350 245 3.73 3.84 15.41 0 0 3 4
Pontiac Firebird 19.2 8 400 175 3.08 3.845 17.05 0 0 3 2
Fiat X1-9 27.3 4 79 66 4.08 1.935 18.9 1 1 4 1
Porsche 914-2 26 4 120.3 91 4.43 2.14 16.7 0 1 5 2
Lotus Europa 30.4 4 95.1 113 3.77 1.513 16.9 1 1 5 2
Ford Pantera L 15.8 8 351 264 4.22 3.17 14.5 0 1 5 4
Ferrari Dino 19.7 6 145 175 3.62 2.77 15.5 0 1 5 6
Maserati Bora 15 8 301 335 3.54 3.57 14.6 0 1 5 8
Volvo 142E 21.4 4 121 109 4.11 2.78 18.6 1 1 4 2
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answe Giiven -that ample čor วั elation -0046 Ho po Teststatftfe I-(-0-716 o.ος we velect Ho and Cenclude thar eonrelatiencoe2. AN ov A df SS 11-37533-lo Re sidua) 31 | 1126.049 Tota Standa8 valuse t-Sta aSa coefttcien b S90 .2GE-10 6 56320263 Test s

Add a comment
Know the answer?
Add Answer to:
The data file Motor Trend is a random sample of 32 automobiles.   The miles per gallon ...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 6. The following data was extracted from the 1974 Motor Trend US magazine, and com- prises...

    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 Transmission (0 = automatic, 1 = - manual) am 4 5 6 7 8 50 150 250 LULU O mpg P8 tagad 2008 10 25 QUE 000 cyl DOO DO...

  • The Motor Trend Car Road Tests dataset mtcars, in faraway R package, was extracted from the...

    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 set "mtcars" in R has 11 variables with 32 observations. A data frame with...

    The data set "mtcars" in R has 11 variables with 32 observations. A data frame with 32 observations on 11 variables. [, 1] mpg Miles/(US) gallon [, 2] cyl Number of cylinders [, 3] disp Displacement (cu.in.) [, 4] hp Gross horsepower [, 5] drat Rear axle ratio [, 6] wt Weight (1000 lbs) [, 7] qsec 1/4 mile time [, 8] vs V/S [, 9) am Transmission (0 = automatic, 1 = manual) [,10] gear Number of forward gears...

  • Please show full details steps for better understanding. Thank you. 6. The following data was extracted...

    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...

  • 6). a.b. The accompanying data represent the miles per gallon of a random sample of cars...

    6). a.b. The accompanying data represent the miles per gallon of a random sample of cars with a three-cylinder, 1.0 liter engine. (a) Compute the z-score corresponding to the individual who obtained 43.7 miles per gallon. Interpret this result. (b) Determine the quartiles. (c) Compute and interpret the interquartile range, IQR. (d) Determine the lower and upper fences. Are there any outliers? E Click the icon to view the data. (a) Compute the z-score corresponding to the individual who obtained...

  • REGRESSION 2 • reg bught cigs faminc male Source SS df MS = = Model Residual...

    REGRESSION 2 • reg bught cigs faminc male Source SS df MS = = Model Residual 20477.12 554134.6 3 6825.70666 1,384 400.386272 Number of obs F(3, 1384) Prob > R-squared Adj R-squared Root MSE 1,388 17.05 0.0000 0.0356 0.0335 20.01 - Total 574611.72 1,387 414.283864 bwght Coef. Std. Err. Piti (95Conf. Intervall cigs famine male _cons -.4610457 0913378 .09687980291453 3.113968 1.076396 115.2277 1.20788 -5.050.000 3.32 0.001 2.89 0.004 95.400.000 -.6402212 .0397062 1.002423 112.8582 - 2818702 .1540535 5.225513 117.5972 f) Conduct...

  • A random sample of ten professional athletes produced the following data where x is the number...

    A random sample of ten professional athletes produced the following data where x is the number of endorsements the player has and y is the amount of money made (in millions of dollars). x y x y 0 2 5 11 3 8 4 9 2 6 3 8 1 3 0 3 6 14 5 10 Use regression to find the equation for the line of best fit. (Round your answers to three decimal places.) ŷ =   +   x

  • The file PO2_07.xlsx includes data on 32 employees at the (fictional) company Beta Technologies. Find the...

    The file PO2_07.xlsx includes data on 32 employees at the (fictional) company Beta Technologies. Find the mean, median, and standard deviation of Annual Salary, broken down by each of the following categories. Round your answers to the nearest whole dollar, if necessary a. Gender Mean Gender Male Female $78187 $ 69135 $ 66,200 $ 69136 $ 35667 * $ 35667 Median Std Dev Comment on your findings. Females are getting paid less than males. b. A recoded version of Education,...

  • Is there a relation between murder and arson? A random sample of 15 Midwest cities (over...

    Is there a relation between murder and arson? A random sample of 15 Midwest cities (over 10,000 population) gave the following information about annual number of murder and arson cases. (Reference: Federal Bureau of Investigation, U.S. Department of Justice.) City 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Murder 7 13 8 11 17 24 19 15 18 16 14 23 6 20 22 Arson 49 374 53 32 123 127 16 91...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT