generate_acceptable_data_cpp: Generate data that is accepted by ABC.

Description Usage Arguments Value See Also

View source: R/RcppExports.R

Description

Generate data that is accepted by ABC.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
generate_acceptable_data_cpp(
  n_sample,
  m_sample,
  alpha_0,
  beta_0,
  nu_0,
  mtx_obs,
  summarize_eps,
  reps,
  max_iter,
  p_norm,
  use_optimized_summary
)

Arguments

n_sample

hyperparameters that are used to generate data: number of samples per source

m_sample

hyperparameters that are used to generate data: number of sources

alpha_0

hyperparameters that are used to generate data

beta_0

hyperparameters that are used to generate data

nu_0

hyperparameters that are used to generate data

mtx_obs

the observed data matrix

summarize_eps

ABC thresholds: as many as summary statistics

reps

how many datasets are returned

max_iter

how many iterations are tried

p_norm

exponent of the L^p norm (can be Inf) (default: 2)

use_optimized_summary

if TRUE, return the optimized summary statistics (mean, sd, kurtosis, skewness), else standard (mean, sd)

Value

a (n x n_obs x p) array of generated data

See Also

Other ABC functions: compute_ABC_cpp(), compute_distances_gen_obs_cpp(), sample_ABC_rdirdirgamma_beta_cpp()


lgaborini/rdirdirgamma documentation built on March 6, 2021, 3:05 p.m.