STBDwDM {womblR} | R Documentation |
MCMC sampler for spatiotemporal boundary detection with dissimilarity metric.
Description
STBDwDM
is a Markov chain Monte Carlo (MCMC) sampler for a spatiotemporal
boundary detection model using the Bayesian hierarchical framework.
Usage
STBDwDM(
Y,
DM,
W,
Time,
Starting = NULL,
Hypers = NULL,
Tuning = NULL,
MCMC = NULL,
Family = "tobit",
TemporalStructure = "exponential",
Distance = "circumference",
Weights = "continuous",
Rho = 0.99,
ScaleY = 10,
ScaleDM = 100,
Seed = 54
)
Arguments
Y |
An |
DM |
An |
W |
An |
Time |
A |
Starting |
Either When |
Hypers |
Either When
|
Tuning |
Either When |
MCMC |
Either
|
Family |
Character string indicating the distribution of the observed data. Options
include: |
TemporalStructure |
Character string indicating the temporal structure of the
time observations. Options include: |
Distance |
Character string indicating the distance metric for computing the
dissimilarity metric. Options include: |
Weights |
Character string indicating the type of weight used. Options include:
|
Rho |
A scalar in |
ScaleY |
A positive scalar used for scaling the observed data, |
ScaleDM |
A positive scalar used for scaling the dissimilarity metric distances,
|
Seed |
An integer value used to set the seed for the random number generator (default = 54). |
Details
Details of the underlying statistical model can be found in the article by Berchuck et al. (2018), "Diagnosing Glaucoma Progression with Visual Field Data Using a Spatiotemporal Boundary Detection Method", <arXiv:1805.11636>.
Value
STBDwDM
returns a list containing the following objects
mu
NKeep x Nu
matrix
of posterior samples formu
. The t-th column contains posterior samples from the the t-th time point.tau2
NKeep x Nu
matrix
of posterior samples fortau2
. The t-th column contains posterior samples from the the t-th time point.alpha
NKeep x Nu
matrix
of posterior samples foralpha
. The t-th column contains posterior samples from the the t-th time point.delta
NKeep x 3
matrix
of posterior samples fordelta
. The columns have names that describe the samples within them.T
NKeep x 6
matrix
of posterior samples forT
. The columns have names that describe the samples within them. The row is listed first, e.g.,t32
refers to the entry in row3
, column2
.phi
NKeep x 1
matrix
of posterior samples forphi
.metropolis
(2 * Nu + 1) x 2
matrix
of metropolis acceptance rates and tuners that result from the pilot adaptation. The firstNu
correspond to theTheta2
(i.e.tau2
) parameters, the nextNu
correspond to theTheta3
(i.e.alpha
) parameters and the last row give thephi
values.runtime
A
character
string giving the runtime of the MCMC sampler.datobj
A
list
of data objects that are used in futureSTBDwDM
functions and should be ignored by the user.dataug
A
list
of data augmentation objects that are used in futureSTBDwDM
functions and should be ignored by the user.
Author(s)
Samuel I. Berchuck
References
Berchuck et al. (2018), "Diagnosing Glaucoma Progression with Visual Field Data Using a Spatiotemporal Boundary Detection Method", <arXiv:1805.11636>.