gbdcd_regression: Gaussian BDCD regression

Description Usage Arguments Value Author(s) See Also

View source: R/gaussian.R

Description

Implementation of the Bayesian Detection of Clusters and Discontinuities

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
gbdcd_regression(
  y,
  x,
  viz,
  n_iterations = 1e+05,
  burn_in = 50000,
  c = 0.35,
  prior_coeffs_mu = rep(0, 2),
  prior_sigma = sqrt(2),
  lambda = 0.001,
  plot = F
)

Arguments

y

a vector specifying the target variable for each of the nodes.

x

a matrix with the independent variables.

viz

a matrix defining the graph neighbors.

n_iterations

number of iterations.

burn_in

number of discarded iterations.

c

parameter indicating the a priori number of clusters.

prior_coeffs_mu

a priori mean for regresion coefficients.

prior_sigma

a priori standard deviation.

lambda

regularization parameter.

plot

plot the results. Default = FALSE.

Value

a list of seven objects:

Author(s)

leandromineti@gmail.com

See Also

Other gbdcd: gbdcdGroups(), gbdcd()


leandromineti/gbdcd documentation built on Sept. 24, 2020, 12:43 p.m.