Skip to main content Accessibility help
×
Hostname: page-component-84b7d79bbc-7nlkj Total loading time: 0 Render date: 2024-08-05T04:00:26.315Z Has data issue: false hasContentIssue false

8 - Regression with discrete covariates

Published online by Cambridge University Press:  05 February 2015

Daniel J. Henderson
Affiliation:
University of Alabama
Christopher F. Parmeter
Affiliation:
University of Miami
Get access

Summary

In this chapter, we outline how to construct nonparametric estimators for a regression model in the presence of discrete regressors. Estimating a regression model when either all of the covariates are discrete or there is mixed data is relatively straightforward, given our earlier discussion in Chapter 5. The key is that we must use kernels appropriate for smoothing discrete data, as discussed in Chapter 7. As with density estimation we will need to modify the kernel weights. Aside from this modification from the continuous-only setting, the intuition and construction of the estimators follow. We feel that you will have little trouble following the arguments in this chapter (assuming you understand the previous chapters). We leave our treatment of estimation with a discrete left-hand-side variable for the presentation of semiparametric methods (Chapter 9).

After discussing estimation, we focus on derivative estimation. Estimating derivatives for the continuous regressors (when discrete regressors are present) proceeds exactly as in the continuous-variable-only setting. What requires more care is obtaining the “derivatives” for the discrete variables, but this should be expected. We use the term “derivative” loosely given that it is clear our conditional mean estimator is no longer continuous in the discrete variables. Similar to the case for a discrete regressor in a parametric model, we obtain our partial effect as the difference between the conditional mean evaluated at one value for the discrete regressor minus value of the discrete regressor, holding everything else constant.

As in all nonparametric estimation, bandwidth selection is of primary importance. We discuss how to select the bandwidths for our discrete variables. The methodology is essentially the same as that in Chapter 5. After selecting our bandwidths and running regressions, we subject our models to formal statistical tests. Here we examine tests that are designed specifically for discrete data. We start with a test for correct parametric specification and also examine tests for variable relevance in the presence of discrete regressors.

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

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
×