comp_stat | R Documentation |
Computation of the different statistics defined in the package. See Smida et al (2022) for more details.
comp_stat(MatX, MatY, stat = c("mo", "med"))
MatX |
numeric matrix of dimension |
MatY |
numeric matrix of dimension |
stat |
character string or vector of character string, name of the
statistics for which the p-values will be computed, among |
For HKR statistics, only the values of the two statistics, namely HKR1
and
HKR2
and not the eigen values (see stat_hkr()
for
more details).
list of named numeric value corresponding to the statistic values
listed in stat
input.
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
stat_mo()
, stat_med()
,
stat_wmw()
, stat_hkr()
,
stat_cff()
simu_data <- simul_data(
n_point = 100, n_obs1 = 50, n_obs2 = 75, c_val = 10,
delta_shape = "constant", distrib = "normal"
)
MatX <- simu_data$mat_sample1
MatY <- simu_data$mat_sample2
res <- comp_stat(MatX, MatY, stat = c("mo", "med", "wmw", "hkr", "cff"))
res
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.