- N
Positive integer specifying the number of observations to simulate. Default is 200.
- d
Positive integer specifying the number of covariates for the covariance structure. Default is 3.
- d_mean
Positive integer specifying the number of covariates for the mean structure. Default is 0.
- sigma2
Positive numeric value specifying the noise variance. Default is 0.1.
- tau
Positive numeric value specifying the global shrinkage parameter. Default is 2.
- kernel_func
Function specifying the covariance kernel. Default is kernel_se.
- perc_spars
Numeric value in [0, 1] indicating the proportion of elements in theta
and beta to sparsify. Default is 0.5.
- rho
Numeric value in [0, 1] indicating the correlation between the covariates. Default is 0.
- theta
Optional numeric vector specifying the true inverse length-scale parameters.
If not provided, they are randomly generated.
- beta
Optional numeric vector specifying the true regression coefficients for the mean
structure. If not provided, they are randomly generated.
- device
Optional torch_device object specifying whether to run the simulation
on CPU or GPU. Defaults to GPU if available.