Last data update: 2014.03.03

R: Fixed versus Adjustable Mortgages
MortgageR Documentation

Fixed versus Adjustable Mortgages

Description

Cross-section data about fixed versus adjustable mortgages for 78 households.

Usage

data("Mortgage")

Format

A data frame containing 78 observations on 16 variables.

rate

Factor with levels "fixed" and "adjustable".

age

Age of the borrower.

school

Years of schooling for the borrower.

networth

Net worth of the borrower.

interest

Fixed interest rate.

points

Ratio of points paid on adjustable to fixed rate mortgages.

maturities

Ratio of maturities on adjustable to fixed rate mortgages.

years

Years at the present address.

married

Factor. Is the borrower married?

first

Factor. Is the borrower a first-time home buyer?

selfemp

Factor. Is the borrower self-employed?

tdiff

The difference between the 10-year treasury rate less the 1-year treasury rate.

margin

The margin on the adjustable rate mortgage.

coborrower

Factor. Is there a co-borrower?

liability

Short-term liabilities.

liquid

Liquid assets.

Source

The data is from Baltagi (2002).

References

Baltagi, B.H. (2002). Econometrics, 3rd ed. Berlin, Springer.

Dhillon, U.S., Shilling, J.D. and Sirmans, C.F. (1987). Choosing Between Fixed and Adjustable Rate Mortgages. Journal of Money, Credit and Banking, 19, 260–267.

See Also

Baltagi2002

Examples

data("Mortgage")
plot(rate ~ interest, data = Mortgage, breaks = fivenum(Mortgage$interest))
plot(rate ~ margin, data = Mortgage, breaks = fivenum(Mortgage$margin))
plot(rate ~ coborrower, data = Mortgage)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(AER)
Loading required package: car
Loading required package: lmtest
Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

Loading required package: sandwich
Loading required package: survival
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/AER/Mortgage.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Mortgage
> ### Title: Fixed versus Adjustable Mortgages
> ### Aliases: Mortgage
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data("Mortgage")
> plot(rate ~ interest, data = Mortgage, breaks = fivenum(Mortgage$interest))
> plot(rate ~ margin, data = Mortgage, breaks = fivenum(Mortgage$margin))
> plot(rate ~ coborrower, data = Mortgage)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>