simulate_data {adass} | R Documentation |
Generate synthetic data as in the simulation study of Centofanti et al. (2020).
simulate_data(scenario, n_obs = 3000)
scenario |
A character strings indicating the scenario considered. It could be "Scenario HAT", "Scenario DAMP", or "Scenario RCHANGE". |
n_obs |
Number of observations. |
A list containing the following arguments:
X
: Covariate matrix, where the rows correspond to argument values and columns to replications.
Y
: Response matrix, where the rows correspond to argument values and columns to replications.
X_fd
: Coavariate functions.
Y_fd
: Response functions.
Beta_vero_fd
: The true coefficient function.
Centofanti, F., Lepore, A., Menafoglio, A., Palumbo, B., Vantini, S. (2020). Adaptive Smoothing Spline Estimator for the Function-on-Function Linear Regression Model. arXiv preprint arXiv:2011.12036.
library(adass)
data<-simulate_data("Scenario HAT",n_obs=100)