Question: Rather than create five dummy variables to represent a categorical
Rather than create five dummy variables to represent a categorical variable C with five labels, an analyst defined the variable X by converting the categories to the numbers 1, 2, 3, 4, and 5. Does the regression of Y on X produce the same results as a regression of Y on four dummy variables that represent four of the categories of C?
Answer to relevant QuestionsA line of men’s shirts was offered in a chain of retail stores at three prices: $32, $35, and $40. Weekly sales were monitored, producing totals at 30 stores in the chain (10 at each price). Which produces a higher R2: a ...The ANOVA in this chapter compares the yield of 5 varieties of wheat. In fact, the Colorado trials involved 54 varieties! Suppose our grower in eastern Colorado was interested in comparisons among all 54 varieties, not just ...Rather than use a dummy variable (D, coded as 1 for men and 0 for women) as the explanatory variable in a regression of responses of men and women, a model included an explanatory variable X coded as +1 for men and -1 for ...Movie studios often release films into selected markets and use the reactions of audiences to plan further promotions. In these data, viewers rate the film on a scale that assigns a score from 0 (dislike) to 100 (great) to ...Smoothing reduces the random variation in data, producing a sequence that reveals the systematic trend in the data. Shouldn’t we build models from the smoothed data, which have less random noise, rather than from the ...
Post your question