Description Usage Arguments Value See Also Examples
This function generates data according to the simulation scenarios considered in Section 3 of the CRISP paper (and plotted in Figure 2 of the paper).
1 |
n |
The number of observations. |
scenario |
The simulation scenario to use. Options are 1 (additive model), 2 (interaction model), 3 ('tetris' model), or 4 (smooth model), which correspond to the simulation scenarios of Section 3 of the CRISP paper. Each scenario has two covariates. |
noise |
The standard deviation of the normally-distributed noise that is added to the signal. |
X |
The |
A list containing:
X
: An n
x 2 covariate matrix.
y
: An n
-vector containing the response values.
Other elements: As specified by the user.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.