STBDwDM | R Documentation |
STBDwDM
is a Markov chain Monte Carlo (MCMC) sampler for a spatiotemporal
boundary detection model using the Bayesian hierarchical framework.
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 )
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 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>.
STBDwDM
returns a list containing the following objects
mu
NKeep x Nu
matrix
of posterior samples for mu
. The
t-th column contains posterior samples from the the t-th time point.
tau2
NKeep x Nu
matrix
of posterior samples for tau2
.
The t-th column contains posterior samples from the the t-th time point.
alpha
NKeep x Nu
matrix
of posterior samples for alpha
.
The t-th column contains posterior samples from the the t-th time point.
delta
NKeep x 3
matrix
of posterior samples for delta
.
The columns have names that describe the samples within them.
T
NKeep x 6
matrix
of posterior samples for T
. The
columns have names that describe the samples within them. The row is listed first, e.g.,
t32
refers to the entry in row 3
, column 2
.
phi
NKeep x 1
matrix
of posterior samples for phi
.
metropolis
(2 * Nu + 1) x 2
matrix
of metropolis
acceptance rates and tuners that result from the pilot adaptation. The first Nu
correspond to the Theta2
(i.e. tau2
) parameters, the next Nu
correspond to
the Theta3
(i.e. alpha
) parameters and the last row give the phi
values.
runtime
A character
string giving the runtime of the MCMC sampler.
datobj
A list
of data objects that are used in future STBDwDM
functions
and should be ignored by the user.
dataug
A list
of data augmentation objects that are used in future
STBDwDM
functions and should be ignored by the user.
Samuel I. Berchuck
Berchuck et al. (2018), "Diagnosing Glaucoma Progression with Visual Field Data Using a Spatiotemporal Boundary Detection Method", <arXiv:1805.11636>.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.