Elec.demand {bsamGP} | R Documentation |

## Electricity demand data

### Description

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

### Usage

`data(Elec.demand)`

### 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.

### Source

Yatchew, A. (2003). *Semiparametric Regression for the Applied Econometrician*.
Cambridge University Press.

### 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

```
## Not run:
data(Elec.demand)
plot(Elec.demand)
## End(Not run)
```

[Package

*bsamGP* version 1.2.4

Index]