Fit a Bayesian nonparametric factorial ANOVA model with Bernoulli-Poisson kernel
anova_bnp_berpoi.Rd
Fit a Bayesian nonparametric factorial ANOVA model with Bernoulli-Poisson kernel
Arguments
- y
An integer response vector.
- X
A design matrix (full of integer covariates).
- iter
the total number of mcmc iterations.
- warmup
the number of warmup mcmc iterations.
- seed
the seed for random number generation.
- rho
the hyperparameter \(\rho\).
- a
the hyperparameter \(a\).
- b
the hyperparameter \(b\).
- a1
the hyperparameter \(a_1\).
- b1
the hyperparameter \(b_1\).
- alpha0
the hyperparameter \(\alpha_0\).
- beta0
the hyperparameter \(\beta_0\).