Learn R Programming

bsamGP (version 1.2.6)

Elec.demand: Electricity demand data

Description

The Elec.demand data consists of 288 quarterly observations in Ontario from 1971 to 1994.

Usage

data(Elec.demand)

Arguments

Format

A data frame with 288 observations on the following 7 variables.

quarter

date (yyyy-mm) from 1971 to 1994

enerm

electricity demand.

gdp

gross domestic product.

pelec

price of electricity.

pgas

price of natural gas.

hddqm

the number of heating degree days relative to a reference temperature.

cddqm

the number of cooling degree days relative to a reference temperature.

References

Engle, R. F., Granger, C. W. J., Rice, J. and Weiss, A. (1986). Semiparametric estimates of the relation between weather and electricity sales. Journal of the American Statistical Association, 81, 310-320.

Lenk, P. and Choi, T. (2017). Bayesian analysis of shape-restricted functions using Gaussian process priors. Statistica Sinica, 27, 43-69.

Examples

Run this code
if (FALSE) {
	data(Elec.demand)
	plot(Elec.demand)
}

Run the code above in your browser using DataLab