| mcse.q.mat {mcmcse} | R Documentation |
Apply mcse.q to each column of a matrix or data frame of MCMC samples.
Description
Apply mcse.q to each column of a matrix or data frame of MCMC samples.
Usage
mcse.q.mat(x, q, size = NULL, g = NULL, method = c("bm", "obm", "sub"))
Arguments
x |
a matrix or data frame with each row being a draw from the multivariate distribution of interest. |
q |
the quantile of interest. |
size |
the batch size. The default value is “ |
g |
a function such that the |
method |
the method used to compute the standard error. This is one of “ |
Value
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.
See Also
mcse.q, which acts on a vector.
mcse and mcse.mat, which compute standard errors for expectations.