View source: R/anova_bnp_normal.R
anova_bnp_normal | R Documentation |
Fit a Bayesian nonparametric factorial ANOVA model with Gaussian kernel
anova_bnp_normal(
y,
X,
iter = 4000L,
warmup = 2000L,
seed = 1L,
n = 50L,
rho = 1,
a = 1,
b = 1,
a0 = 2,
lambda0 = 1,
mu0 = 0,
b0 = 1,
lb = mean(y) - 3 * sd(y),
ub = mean(y) + 3 * sd(y),
standardize_y = FALSE
)
y |
a continuous 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. |
n |
the number of points |
rho |
the hyperparameter |
a |
the hyperparameter |
b |
the hyperparameter |
a0 |
the hyperparameter |
lambda0 |
the hyperparameter |
mu0 |
the hyperparameter |
b0 |
the hyperparameter |
lb |
the lower bound of the prediction grid. |
ub |
the upper bound of the prediction grid. |
standardize_y |
Select |
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.