Apply mcse.q to each column of a matrix or data frame of MCMC samples.
Apply mcse.q to each column of a matrix or data
frame of MCMC samples.
mcse.q.mat(x, q, size = "sqroot", g = NULL,
method = c("bm", "obm", "sub"))x |
a matrix or data frame of Markov chain output. Number of rows is the Monte Carlo sample size. |
q |
the quantile of interest. |
size |
the batch size. The default value is
“ |
g |
a function such that the qth quantile of
the univariate distribution function of g(x) is the
quantity of interest. The default is |
method |
the method used to compute the standard
error. This is one of “ |
mcse.q.mat returns a matrix with ncol(x)
rows and two columns. The row names of the matrix are the
same as the column names of x. The column names of
the matrix are “est” and
“se”. The jth row of the matrix
contains the result of applying mcse.q to the
jth column of x.
mcse.q, which acts on a vector.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.