simul_data | R Documentation |
Simulate n_obs1
trajectories of length n_point
in the first sample and
n_obs2
trajectories of length n_point
in the second sample.
simul_data(
n_point,
n_obs1,
n_obs2,
c_val = 0,
delta_shape = "constant",
distrib = "normal",
max_iter = 10000
)
n_point |
integer value, number of points in the trajectory. |
n_obs1 |
integer value, number of trajectories in the first sample. |
n_obs2 |
integer value, number of trajectories in the second sample. |
c_val |
numeric value, level of divergence between the two samples. |
delta_shape |
character string, shape of the divergence between the
two samples, among |
distrib |
character string, type of probability distribution used to
simulate the data among |
max_iter |
integer, maximum number of iteration for the iterative simulation process. |
A list with the following elements
mat_sample1
: numeric matrix of dimension n_point x n_obs1
containing
n_obs1
trajectories (in columns) of size n_point
(in rows)
corresponding to sample 1.
mat_sample2
: numeric matrix of dimension n_point x n_obs2
containing
n_obs2
trajectories (in columns) of size n_point
(in rows)
corresponding to sample 2.
Zaineb Smida, Ghislain DURIF, Lionel Cucala
Zaineb Smida, Lionel Cucala, Ali Gannoun & Ghislain Durif (2022) A median test for functional data, Journal of Nonparametric Statistics, 34:2, 520-553, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1080/10485252.2022.2064997")}, hal-03658578
plot_simu()
, simul_traj()
simu_data <- simul_data(
n_point = 100, n_obs1 = 50, n_obs2 = 75, c_val = 10,
delta_shape = "constant", distrib = "normal"
)
str(simu_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.