constTestData: Construction of test data

Description Usage Arguments References Examples

Description

Construction of test data

Usage

1
2
3
4
5
6
7
testMatX(...)

testResponse0(x, beta = rep(1, ncol(x)))

testResponse(y0, k = 1:4, .sd = sd(y0))

testRook(n)

Arguments

...

matrices

x

a matrix

beta

a vector with parameters

y0

a response vector (numeric)

k

values in 1 to 4 (integer)

.sd

the standard deviation used for random numbers

n

dimension

References

Weihs / Mersmann / Ligges (2014): Foundations of Statistical Algorithms: With References to R Packages

Examples

1
2
3
4
5
6
7
8
## Examples from Weihs et. al. (2014) p. 108
library("Matrix")
testMatX(Matrix(998), Matrix(998))
Z <- Matrix(c(998, 0, 0, 0), 2, 2)
testMatX(Z, Z)
testResponse0(testMatX(Matrix(1)))
library("magrittr")
Matrix(1) %>% testMatX %>% testResponse0 %>% testResponse

wahani/saeRobustTools documentation built on May 3, 2019, 8:09 p.m.