| GaussianExample | R Documentation |
Simulated data for family = "gaussian" with n = 100 observations and
p = 200 predictors (p > n), following the simulation design of
Kurnaz, Hoffmann and Filzmoser (2018).
data("GaussianExample")
A list with components
xtraining predictors, a 100 \times 200 matrix.
ytraining response, a numeric vector of length 100.
outliersindices of the contaminated training observations (1 to 10).
xtest, ytestclean test data with 200 observations.
betathe true slope vector (the true intercept is 1).
The predictors form three independent blocks: two informative blocks of 10 predictors each with
\mathrm{cor}(x_j, x_k) = 0.9^{|j-k|}, and 180 uninformative predictors with
0.2^{|j-k|}. The response is y = 1 + x^\top\beta + \varepsilon with
\varepsilon \sim N(0,1), \beta_j = 1 for the 20 informative predictors and 0 otherwise.
The first 10 observations are contaminated: their informative predictors are drawn from
N(20, 1) and their errors from N(20\,\hat\sigma_y, 1), where \hat\sigma_y is the
standard deviation of the clean response, so they are both leverage points and vertical outliers.
Values are rounded to three decimals. The generating code is in the data-raw directory of the
package repository on GitHub.
Kurnaz, F.S., Hoffmann, I. and Filzmoser, P. (2018). Robust and sparse estimation methods for high-dimensional linear and logistic regression. Chemometrics and Intelligent Laboratory Systems, 172, 211–222. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.chemolab.2017.11.017")}
data("GaussianExample")
dim(GaussianExample$x)
GaussianExample$outliers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.