Learn R Programming

mlogitBMA (version 0.1-2)

heating: Heating Dataset

Description

Kenneth Trains dataset containing data on choice of heating system in California houses.

Usage

data(heating)

Arguments

source

http://elsa.berkeley.edu/~train/distant.html

Details

The observations consist of single-family houses in California that were newly built and had central air-conditioning. The choice is among heating systems. Five types of systems are considered to have been possible:

(1) gas central, (2) gas room, (3) electric central, (4) electric room, (5) heat pump.

For these data, the costs were calculated as the amount the system would cost if it were installed in the house, given the characteristics of the house (such as size), the price of gas and electricity in the house location, and the weather conditions in the area (which determine the necessary capacity of the system and the amount it will be run.) These cost are conditional on the house having central air-conditioning. (That is why the installation cost of gas central is lower than that for gas room: the central system can use the air-conditioning products that have been installed.)

References

Train, K.E. (2003) Discrete Choice Methods with Simulation. Cambridge University Press.

Examples

Run this code
data(heating)
head(heating)

Run the code above in your browser using DataLab