Dummy (indicator) variables in regression
[19/100%]Sales data for single-family houses in an Indianapolis suburb were used to estimate this equation in 2005:
where: Y = sale price square feet of living area G = garage square feet A = age of house in years B = number of baths if it is two-story, 0 if not.
The standard errors are in parentheses.
Which of the estimated coefficients are statistically significant at the level? How can you tell?
Does the sign and size of each coefficient seem reasonable? In each case, explain your reasoning.
Identify five errors in these reported results from a multiple regression model for predicting the number of home sales, using quarterly timeseries data from 2001 to 2020:
| Explanatory Variable | Coefficient | Standard Error | |t-value| | Two-sided p-value |
|---|---|---|---|---|
| Intercept | -1703.00 | 412.00 | 4.10 | . 0001 |
| GDP | 32.33 | 6.20 | 5.21 | -. 0271 |
| Mortgage rate | -2245.61 | 711.42 | 3.16 | . 0023 |
| Spring | 45.62 | 28.62 | 1.59 | . 1161 |
| Summer | 35.55 | 21.44 | 1.66 | . 1012 |
| Fall | -12.11 | 4.63 | 2.62 | . 9894 |
| Winter | -48.79 | 15.72 | 3.10 | . 0027 |
Identify five distinct problems with this multiple regression model of the effect of COVID-19 on the earnings of small business owners.
Earnings annual income from business, dollars COVID = 1 during COVID months, 0 pre-COVID Race if white, 1 if black, 2 if Asian
| Variable | Coefficient | Standard Error | t-statistic | Two-sided p-value |
|---|---|---|---|---|
| Constant | 34,256.77 | 2,437.92 | 14.05 | . 0385 |
| COVID | 1,327.38 | 770.95 | 1.72 | . 0427 |
| Race | 450.22 | 125.43 | . 28 | . 000165 |
A study of the income of family-law lawyers looked at the influence of age, sex, and law school attended:
where: average income over the past 5 years X = current age of male, 1 if female if attended Harvard, 2 if attended Yale, 3 if attended Stanford, and 0 otherwise.
What is the most important problem with this model specification?
A study compared the daily returns for a portfolio of stocks that have clever ticker symbols to the performance of the overall market for the years 1984-2005. Part of the study involved the estimation of this regression equation,
[3.45] [39.52] where Y is the clever-ticker daily return, X is the stock market daily return, and the t -values are in brackets.
An update of this study using data for 2006-2018:
How could you test if the differences in the estimated coefficients (.00049 versus .00026 and .81 versus .88) are statistically persuasive? Be specific.
A study of the effect of birth order on GPA reported these results:
where: Y = GPA, scale of 0-4 X1 = height, in inches X2 = 1 if female, 0 otherwise X3 = 1 if only child, 0 otherwise
X4 = 1 if first born, 0 otherwise X5 = 1 if not an only child or first-born, 0 otherwise [ ] = absolute value of t -values Why do you suspect that this is not an honest report of the results?
In a 1980 court case, a federal judge described how regression estimates of male and female salary equations could be used to determine if an employer discriminates against females.
where: annual earnings number of years of schooling number of years of relevant job experience The judge also noted that in place of two separate equations, one for males and one for females, the following single equation could be estimated, where if the person is a male and if the person is female:
In what ways is this single equation less general than the two separate equations?
What single equation could the judge have specified that is as general as the two separate equations?
Traffic fines for speeding in California are supposed to be determined by a formula based on how many miles over the speed limit the driver was driving, but there is flexibility in various extra fees. A researcher wants to see if total speeding fines are higher for people under the age of 30 than for older drivers.
Specify a multiple regression equation that might be used to investigate this research question.
Which coefficients in your model would show whether there is discrimination against younger drivers?
Identify a situation in which a difference-in-means test would show discrimination against younger drivers, but a multiple regression model would not.
Identify a situation in which a difference-in-means test would show no discrimination against younger drivers, but a multiple regression model would.
A dean claims that humanities professors' salaries Y are determined solely by teaching experience X. To see if there is a statistically persuasive difference in the salaries of male and female humanities professors, the equation was estimated, using the variable if male, 1 if female.
Interpret each of the parameters , and .
What advantage does a regression model have over a comparison of average male and female salaries?
Describe a specific situation in which a comparison of average male and female salaries shows discrimination against females while a regression equation does not.
Describe a specific situation in which a comparison of average male and female salaries shows no discrimination against females while a regression equation indicates discrimination against females.
A researcher was interested in how a movie's box office revenue is affected by the audience suitability rating assigned by the Motion Picture Association of America (MPAA) and the quality of the film as gauged by Entertainment Weekly's survey of ten prominent film critics. Data for 105 films that were critically rated in 1991 were used to estimate the following equation by ordinary least squares:
[.61] [4.36] [3.74] where: domestic box office revenue, in dollars MPAA suitability rating ( if rated G, PG, or PG-13; if rated R) Entertainment Weekly quality rating [ ]: t-values Explain the errors in each of these three critiques:
"The R-squared value of 0.214 is close enough to zero that the null hypothesis can be rejected."
"The coefficient of has the wrong sign and is also much too large."
"The low t -value of the alpha value suggests that the y -intercept may not be significant. Therefore, while this may be a good study of films in 1991, it may not be a good study for predicting films."
Identify the most serious problem with this model of household income
where: average household income in state state dummy variable; 1 for Alabama, 2 for Alaska, 3 for Arizona, etc. average education in state average age in state
This model was estimated by ordinary least squares using 2011 data for individuals:
where: logarithm of income A = age E = education, years female; 1 if female, 0 if male married; 1 if married, 0 if unmarried unmarried; 0 if unmarried, 1 if married What statistical problem do you see?
This regression equation was estimated using data for 481 California Census blocks that were more than Hispanic in 2008:
where: P = of the two-party vote received by Barack Obama in the 2008 Presidential election median household income of Hispanics ($1000s of dollars) if the Census block is in L.A. County; D = 1 otherwise and the t -values are in brackets. Explain why you either agree or disagree with these conclusions:
Income is not statistically persuasive; the p -value is .27, meaning that there's a chance we accept the null hypothesis that income has no effect on the Hispanic vote.
The effect of D on P is substantial because the t -value is 8.42.
There is an error in the results because the cannot be so low if some explanatory variables are statistically significant.
The model would be better if if the Census block is in Los Angeles County and D = 0 otherwise.
A random sample of 100 college students yielded data on student's height, student's sex (0 if female, 1 if male), mother's height, and father's height. All heights were measured in feet; for example, a 5 foot, 3 -inch person is 5.25 feet tall.
Explain why the following interpretation of the value is misleading: " of a student's height can be explained by their sex and their parents' height."
Explain why this conclusion is misleading: "The student's sex is important in determining height. In general, males are taller than females, which is shown in the t -values."
Do these results indicate that heights regress toward the mean?
Interpret these regression results using quarterly data for 1974-2014. The dependent variable is housing starts, in thousands. The explanatory variables are: Time in the first quarter of 1974, 2 in the second quarter of 1974, etc. Q2 = 1 in second quarter, 0 otherwise Q3 = 1 in third quarter, 0 otherwise Q4 = 1 in fourth quarter, 0 otherwise
A multiple regression equation was used to explain rents paid by people who live and work in Phoenix:
where: monthly rent X = monthly income if full-time job, 0 if part-time
Explain why you either agree or disagree with this interpretation of : "The coefficient of the dummy variable measures the extent to which renters can afford to pay a higher rent because their full-time job gives them more income."
A survey of 47 college sophomores investigated the effect of studying and extracurricular activities on grades:
where: grade point average on a 12 -point scale average hours per week spent studying; if the person spends at least 10 hours a week on an extracurricular activity such as work or sports, 0 otherwise and the standard errors are in parentheses. The researcher concluded that, "The effect of extracurricular activity is not significant and does not lend support to the commonly held notion that extracurricular activity negatively affects grades because it reduces available study time." Explain why the coefficient of D does not measure the extent to which extracurricular activity affects grades by reducing available study time.
A researcher specified this time-series model of consumer spending,
where: C = consumer spending disposable income if the stock market went up that year, 0 otherwise What errors do you see in these reported results?
for a test of .
The value of should be positive because when income goes up, the stock market usually goes up too.
For and the two-sided p -value is .95.
.
The estimate of is 1.13.
What is the most important thing wrong with these multiple regression results that examined the relationship between year in college and mental depression?
Dependent variable: Depression = survey, measured on a scale of 0-10 Explanatory variables: Frosh = 1 if first year, 0 otherwise Sophomore if second year, 0 otherwise Junior = 1 if third year, 0 otherwise Senior = 1 if fourth year or longer, 0 otherwise Results
| Constant | 4.720*** (1.664) |
|---|---|
| Frosh | . 669 (.818) |
| Sophomore | . 802 (.850) |
| Junior | . 923 (.838) |
| Senior | . 819 (.814) |
| Observations | 113 |
| R-Squared | . 531 |
| Standard errors in parentheses |