Skip to main content Accessibility help
×
Hostname: page-component-76fb5796d-x4r87 Total loading time: 0 Render date: 2024-04-28T03:34:05.680Z Has data issue: false hasContentIssue false

6 - Indicators, Interactions, and Transformations

Published online by Cambridge University Press:  05 June 2012

Daniel Zelterman
Affiliation:
Yale University, Connecticut
Get access

Summary

Linear regression is sometimes more than we really need. A simple rule about whether or not to take a different action is often adequate. When you look at the fuel gauge on your car, at what point do you begin to look for a gas station? An indicator variable takes a continuous measurement and cuts it up into two discrete categories.

We can also transform variables in a nonlinear fashion if this serves to reduce leverage or make the data look more like a straight line. Interactions are variables we use in a regression model to see if the explanatory value of two variables is greater than the sum of their parts. A pizza with two toppings may be much better than two separate halves with the individual toppings. Or perhaps it may be worse.

Indicator Variables

Water boils at a lower temperature at high altitude, and experienced cooks know that recipes need to be adjusted accordingly. Consider the recipe given in Table 6.1. Most important, notice the footnote about making an adjustment for high altitude. This is expressed in terms of a change that suddenly needs to be made above a critical height above sea level. Ideally, the person preparing this dish should first obtain an accurate measure of the altitude and then use a calculator to determine the precise amount of adjustment that needs to be made. Nobody would consider doing this, of course. Instead we are instructed to use this easily remembered rule that takes effect above a critical level.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2010

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×