
Explanation:
An indicator variable (also known as a dummy variable or binary variable) in simple linear regression is a categorical variable that takes only two values: 0 or 1.
Key Points:
Definition: Indicator variables are used to represent categorical data in regression models. They take the value 1 when a certain condition is true and 0 when it is false.
Purpose: They allow the inclusion of qualitative variables (like gender, yes/no responses, presence/absence) in regression analysis.
Why not the other options:
Example: In a regression model predicting salary, an indicator variable for gender might be coded as:
Interpretation: The coefficient of an indicator variable represents the average difference in the dependent variable between the group coded as 1 and the reference group coded as 0.
Correct Answer: A - Indicator variables take values of either 0 or 1.
Ultimate access to all questions.
No comments yet.