Question: Consider the dependent variable y = fuel efficiency of a car (mpg). a. Suppose that you want to incorporate size class of car, with four
a. Suppose that you want to incorporate size class of car, with four categories (subcompact, compact, midsize, and large), into a regression model that also includes x1 = age of car and x2 = engine size. Define the necessary indicator variables, and write out the complete model equation.
b. Suppose that you want to incorporate interaction between age and size class. What additional predictors would be needed to accomplish this?
Step by Step Solution
3.46 Rating (169 Votes )
There are 3 Steps involved in it
a We need additional variables x 3 x 4 and x 5 The values of these ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
536-M-S-L-R (4299).docx
120 KBs Word File
