Asked by Sarah' Kay Belue on Jun 05, 2024

verifed

Verified

When a categorical variable has 5 levels,________ dummy variables need to be added to the model.

A) 5
B) 0
C) 4
D) 2

Categorical Variable

A variable that can take on one of a limited, and usually fixed, number of possible values, assigning each individual or other entity to a particular group or nominal category.

Dummy Variables

Variables created to include categorical data in regression models, converting categories to a numerical form.

  • Grasp the concept of dummy variables and their use in incorporating categorical data into regression models.
verifed

Verified Answer

NV
Nikka Villanueva HilarioJun 09, 2024
Final Answer :
C
Explanation :
When a categorical variable has k levels, k-1 dummy variables need to be added to the model to avoid perfect multicollinearity, where k is the number of levels of the variable. In this case, a categorical variable with 5 levels would require 5-1=4 dummy variables to be added to the model. Therefore, the correct answer is C) 4.