toy.learn: Toy Data for SISAL (Learning Set)

Description Usage Format Details See Also Examples

Description

Numeric matrix with independent and dependent variables and noise

Usage

1

Format

The format is:

1
2
3
4
 num [1:1000, 1:12] -0.62067 1.36985 0.00122 0.75527 -1.82271 ...
 - attr(*, "dimnames")=List of 2
  ..$ : NULL
  ..$ : chr [1:12] "y" "noise" "X1" "X2" ...

Details

This is the learning set of the toy data, i.e. 1000 rows of the whole 1500 row dataset.

Columns "X1", "X2", ..., "X10" were generated with rnorm to follow a standard normal distribution.

Column "y" is a linear combination of "X1", "X2", "X3", coefficients (1:3)/sqrt(sum((1:3)^2)), yielding a theoretical standard normal distribution.

Column "noise" was also generated from the standard normal distribution.

Use file.show(system.file("toyDataSrc", "sisalToy.R", package="sisal")) to view the script that generated the data.

See Also

toy.test, testSisal

Examples

1
2

sisal documentation built on May 29, 2017, 9:09 a.m.