# Question: Rather than use a dummy variable D coded as 1

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 women. (This type of indicator variable is sometimes used rather than a dummy variable.)

(a) What is the difference between the scatterplot of Y on X and the scatterplot of Y on D?

(b) Does the regression of Y on D have the same R2 as the regression of Y on X?

(c) In the regression of Y on X, what is the fitted value for men? For women?

(d) Compare b0 and b1 in the regression of Y on D to b0 and b1 in the regression of Y on X.

(a) What is the difference between the scatterplot of Y on X and the scatterplot of Y on D?

(b) Does the regression of Y on D have the same R2 as the regression of Y on X?

(c) In the regression of Y on X, what is the fitted value for men? For women?

(d) Compare b0 and b1 in the regression of Y on D to b0 and b1 in the regression of Y on X.

## Answer to relevant Questions

A department store sampled the purchase amounts (in dollars) of 50 customers during a recent Saturday sale. Half of the customers in the sample used coupons, and the other half did not. The data identify the group using a ...People procrastinate when it comes to an unpleasant chore, but consumers often put off a good experience, too. Marketing researchers gave out coupons for either one or two free movie tickets to 120 students. Sixty coupons ...1. Change in the value of the response 2. Value of the response in the previous time period 3. Values averaged in a five-term moving average 4. Exponentially weighted moving average 5. Equation of a model that fits a linear ...The following two plots on the next page show exponentially weighted moving averages of the percentage change in the amount of household credit market debt. The time series is quarterly, from 1960 through the fourth quarter ...These data measure hourly compensation in the US manufacturing sector from 1987 through 2011. The data are assembled by the Bureau of Labor Statistics from surveys. The value of the index was set to 100 in 2005, so the data ...Post your question