DAME_fix: DAME_fix

Description Usage Arguments Value

View source: R/DAME.R

Description

MCMC algorithm using Gibbs sampling for each variable with structural NA

Usage

1
2
3
DAME_fix(Y, X, RE = c("additive", "multiplicative"), R = 2,
  dist = "Exponential", gammapriors = c(2, 1), avail = matrix(1,
  dim(Y)[1], dim(Y)[2]), burn = 1000, nscan = 5000, odens = 100, kappas)

Arguments

Y

relational array of relations

X

Time x n x n x p covariate array

RE

random effect to be included ("additive" and/or "multiplicative")

R

dimension of the multiplicative effects

dist

standard Exponential or squared Exponential

gammapriors

inverse-gamma shape and scale parameters for (s2, beta, theta, d)

avail

Time x n matrix reperesenting the availibility of nodes (1 if avail, 0 if structural NA)

burn

burn in for the Markov chain

nscan

number of iterations of the Markov chain (beyond burn-in)

odens

output density for the Markov chain

kappas

P+2 length vector of GP length parameters

Value

Final estimate of the parameters


bomin8319/DAME_pkg documentation built on May 16, 2019, 6:57 p.m.