The dummy variables are not any different from Module 13, where Yi = g1D1+g2D2
D1=1 D2=0 for urban territories
D1=0 D2=1 for sub-urban territories
D1=0 D2=0 for rural territories
This module adds in mileage Xi which affects claim frequency differently dependant on the type of territory. Driving 10,000 miles in the country side is going to have a smaller claim frequency than driving 10,000 miles in an high-traffic urban area.
Start on pg. 131 of the text book about Modeling Interactions. On pg 132, he explains Interaction Regressors and even lays the ground work for answering C.
You still need Xi but you need an extra term to change the slopes for urban territories and another term to change the slope for the sub-urban territories. The regression equation for rural territories will still appear as Yi = A+B*Xi because both dummy variables are equal to 0.
When you get Excel to give 6 intercepts for part D, make a separate column of Y-hat values that are fitted to the equation you get in part C. It should come out very close to the original claim frequency entries.
[NEAS: This post is well written; see also the Jacob-Rachel dialogue below, which explains the solution in more detail.]
|