Explore BrainMass
Share

Explore BrainMass

    Dummy variables in regression

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    When using dummy variables in a regression equation to model a qualitative or categorical variable, the number of dummy variables should equal to

    a. one less than the number of categories.
    b. one more than the number of categories.
    c. the number of categories.
    d. the number of other independent variables in the model.

    © BrainMass Inc. brainmass.com October 10, 2019, 3:12 am ad1c9bdddf
    https://brainmass.com/statistics/regression-analysis/dummy-variables-regression-410906

    Solution Preview

    The correct answer is: "a. one less than the number of categories".

    This is best seen by example. Suppose there are only two categories. We can use a single dummy variable called cat2 (recall that dummy variables can assume a value of either 0 or 1). We can let cat2 =0 represent category 1 ...

    Solution Summary

    This solution describes in detail why the number of dummy variables in a regression equation is always one less than the number of categories in a categorical variable.

    $2.19