A researcher had a categorical variable that they wanted to include as a predict
ID: 3246684 • Letter: A
Question
A researcher had a categorical variable that they wanted to include as a predictor in a regression equation. The researcher was trying to predict the success of a back pain intervention, and the categorical variable was the duration of the back pain prior to treatment, with 4 categories: less than 6 months, 6–12 months, 1–2 years, more than 2 years. They needed to code these variables into dummy variables for the regression using less than 6 months as their reference category.
How should the correct coding scheme be represented?
Explanation / Answer
Class interval less than 6 months can be considered as 0-6 months
Coded value may be taken as mid value of this interval.
Mid value= (0+6)/2 = 3
Similarly for 6-12 months mid value= (6+12)/2= 9
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.