View source: R/anova_bnp_berpoi.R
| anova_bnp_berpoi | R Documentation |
Fit a Bayesian nonparametric factorial ANOVA model with Bernoulli-Poisson kernel
anova_bnp_berpoi(
y,
X,
iter = 4000L,
warmup = 2000L,
seed = 1L,
rho = 1,
a = 1,
b = 1,
a1 = 2,
b1 = 4,
alpha0 = 1,
beta0 = 1,
lb = min(y),
ub = max(y)
)
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 |
a |
the hyperparameter |
b |
the hyperparameter |
a1 |
the hyperparameter |
b1 |
the hyperparameter |
alpha0 |
the hyperparameter |
beta0 |
the hyperparameter |
An object of class anova_bnp_model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.