example.database: Example databases.

example.databaseR Documentation

Example databases.

Description

Example database saved both as a numeric matrix and as a zoo object.

Usage

data(example.database);
data(zoo.database);

Format

example.database is saved in a numerical matrix.

zoo.database is saved as a zoo object with a given temporal index.

Details

example.database is a numerical matrix conformed by six ARMA(3,2) series of coefficients AR=(1, -0.24, 0.1) and MA=(1, 1.2) and length 100 that are situated in a row-wise format. They are generated from innovation vectors obtained randomly from a normal distribution of mean 0 and standard deviation 1, but by setting different random seeds.

zoo.database is a copy of example.database but saved in a zoo object with a specific time index. The series are set in a column-wise format.

Examples


data(example.database);
data(zoo.database);


## In example.database the series are set in a row-wise format.

plot(example.database)[1,]

## In zoo.database the series are set in a column-wise format.

plot(zoo.database)[,1]


TSdist documentation built on Aug. 31, 2022, 5:09 p.m.