| Sim_data {probe} | R Documentation |
Simulated high-dimensional data set for sparse linear regression
Description
This dataset was simulated using a 20 \times 20 2-dimensional setting described in the reference. The data contains 400 subjects with one outcome and 400 predictor variables. The test outcomes and predictor variables are contained in Sim_data_test.
Usage
data("Sim_data")
Format
A data frame with 400 observations and the following objects:
YOutcome variable of length
400.XA
400 \times 400matrix of binary predictor variables.signalThe locations of the non-zero regression coefficients.
beta_trThe true values of all
400regression coefficients.sigma2_trThe true value of the residual variance.
Source
Simulated data.
Examples
data(Sim_data)
attach(Sim_data)
length(Y)
dim(X)
[Package probe version 1.1 Index]