hmda: Home Mortgage Disclosure Act Data

Description Usage Format Details Source References Examples

Description

Cross-section data on the Home Mortgage Disclosure Act (HMDA).

Usage

1
data("hmda")

Format

A data frame containing 2,379 observations on 14 variables.

Details

Only includes variables used by Stock and Watson (2007), some of which had to be generated from the raw data. Also, different from the dataset in the AER package as one problematic observation has been eliminated.

Source

Online complements to Stock and Watson (2007).

http://wps.aw.com/aw_stock_ie_2

References

Munnell, A. H., Tootell, G. M. B., Browne, L. E. and McEneaney, J. (1996). Mortgage Lending in Boston: Interpreting HMDA Data. American Economic Review, 86, 25–53.

Stock, J. H. and Watson, M. W. (2007). Introduction to Econometrics, 2nd ed. Boston: Addison Wesley.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data("hmda")

## Stock and Watson (2007)
## Equations 11.1, 11.3, 11.7, 11.8 and 11.10, pp. 387--395
fm1 <- lm(I(as.numeric(deny) - 1) ~ pirat, data = hmda)
fm2 <- lm(I(as.numeric(deny) - 1) ~ pirat + afam, data = hmda)
fm3 <- glm(deny ~ pirat, family = binomial(link = "probit"), data = hmda)
fm4 <- glm(deny ~ pirat + afam, family = binomial(link = "probit"), data = hmda)
fm5 <- glm(deny ~ pirat + afam, family = binomial(link = "logit"), data = hmda)

## More examples can be found in:
## help("StockWatson2007")

gragusa/ase documentation built on May 17, 2019, 8:18 a.m.