Description Usage Arguments Value See Also
Compute distances between summary statistics.
1 2 3 4 5 6 | compute_distances_gen_obs_cpp(
mtx_gen,
mtx_obs,
p_norm = 2,
use_optimized_summary = FALSE
)
|
mtx_gen |
the generated data matrix; number of rows is free, it must have the same number of columns as |
mtx_obs |
the observed data matrix; number of rows is free, it must have the same number of columns as |
p_norm |
exponent of the L^p norm (can be |
use_optimized_summary |
if TRUE, use quantile matrix, else compute mean and sd vectors |
a vector of distances between summary statistics: as many entries as summary statistics
Other ABC functions:
compute_ABC_cpp()
,
generate_acceptable_data_cpp()
,
sample_ABC_rdirdirgamma_beta_cpp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.