Test ngme function for different models

test_ngme(
  model,
  n_obs_per_rep,
  n_replicate = 1,
  control_opt = NULL,
  numer_grad = TRUE,
  f_noise = noise_nig(mu = -2, sigma = 1.5, nu = 0.5),
  n_gibbs_samples = 5,
  family = "normal",
  max.n = 1000,
  debug = FALSE,
  debug_f = FALSE,
  start = NULL,
  fix_theta_K = FALSE,
  fix_theta_mu = FALSE,
  fix_theta_sigma = FALSE,
  fix_theta_nu = FALSE,
  seed = Sys.time()
)

Arguments

model

model name

n_obs_per_rep

number of observation per replicate

n_replicate

number of replicate

control_opt

control options for optimization, see control_opt

numer_grad

numerical gradient

f_noise

noise function

n_gibbs_samples

number of gibbs samples

family

family of noise

max.n

maximum number for building mesh

debug

debug mode

debug_f

debug mode for latent process

start

start value for optimization

fix_theta_K

fix theta_K

fix_theta_mu

fix theta_mu

fix_theta_sigma

fix theta_sigma

fix_theta_nu

fix nu

seed

seed