Apply mcse to each column of a matrix or data frame of MCMC samples.
Apply mcse to each column of a matrix or data
frame of MCMC samples.
mcse.mat(x, size = NULL, g = NULL,
method = "bm", r = 3)x |
a matrix or data frame with each row being a draw from the multivariate distribution of interest. |
size |
represents the batch size in “bm” and the truncation point in “bartlett” and “tukey”. Default is |
g |
a function such that E(g(x)) is the
quantity of interest. The default is |
method |
any of |
r |
the lugsail parameter that converts a lag window into its lugsail equivalent. Larger values of |
mcse.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 to the jth column of x.
mcse, which acts on a vector.
mcse.multi, for a multivariate estimate of the Monte Carlo standard error.
mcse.q and mcse.q.mat, which
compute standard errors for quantiles.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.