| BostonMortgages {HRW} | R Documentation |
Mortgage applications in Boston
Description
The full dataset is in the data frame 'Hdma' within the R package Ecdat. This data frame is the subset of mortgage applications during the years 1998-1999.
Usage
data(BostonMortgages)
Format
A data frame with 2,380 observations on the following 13 variables:
dirratio of the debt payments to the total income.
hirratio of the housing expenses to the total income.
lvrratio of the loan size to the assessed value of property.
ccsa credit score ranging from 1 to 6, where a low value indicates low credit risk.
mcsa mortgage credit score from 1 to 6, where a low value indicates low credit risk.
pbcrdid the applicant have a public bad credit record?: a factor with levels
noandyes.dmiwas the applicant denied mortgage insurance?: a factor with levels
noandyes.selfwas the applicant self-employed?: a factor with levels
noandyes.singleis the applicant single?: a factor with levels
noandyes.uria1989 Massachusetts unemployment rate in the applicant's industry.
condominiumis the unit a condominium?: a factor with levels
noandyes.blackis the applicant black?: a factor with levels
noandyes.denywas the mortgage denied?: a factor with levels
noandyes.
References
Munnell, A. H., Tootell, G. M. B., Browne, L. E., and McEneaney, J. (1996). Mortgage lending in Boston: Interpreting HDMA data, American Economic Review, 25-53.
Examples
library(HRW) ; data(BostonMortgages)
BostonMortgages$denyBinary <- as.numeric(BostonMortgages$deny == "yes")
fit <- glm(denyBinary ~ black + dir + lvr + pbcr + self + single + as.factor(ccs),
family = binomial,data = BostonMortgages)
summary(fit)