anova_bnp_bernoulli: Fit a Bayesian nonparametric factorial ANOVA model with...

View source: R/anova_bnp_bernoulli.R

anova_bnp_bernoulliR Documentation

Fit a Bayesian nonparametric factorial ANOVA model with Bernoulli kernel

Description

Fit a Bayesian nonparametric factorial ANOVA model with Bernoulli kernel

Usage

anova_bnp_bernoulli(
  y,
  X,
  iter = 4000L,
  warmup = 2000L,
  seed = 1L,
  rho = 1,
  a = 1,
  b = 1,
  a2 = 2,
  b2 = 4,
  lb = min(y),
  ub = max(y)
)

Arguments

y

An boolean 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.

a2

the hyperparameter a_2.

b2

the hyperparameter b_2.

Value

An object of class anova_bnp_model.


igutierrezm/ANOVABNPTestR documentation built on April 22, 2024, 3:24 a.m.