Description Usage Arguments See Also Examples
MCMC diagnostics plot.
1 2 3 4 |
codaObject |
A coda::mcmc.list object or rstan::stanfit object. |
stanFit |
A rstan::stanfit object. |
parName |
The parameter name. |
DBDAplColors |
Colors to be used for plotting. |
figName |
A output figure name, must be ended with |
best.robust_t_test
,best.student_t
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | library(lxctk)
library(coda)
library(rstan)
x <- rt(1000, df=1)
fit <- best.student_t(x, stanDso)
codaObject <- stanfit2mcmc.list(fit)
diag.mcmc(codaObject)
data('x')
##fit <- best.student_t(x, stanDso) ## The above error will be generated
fit <- best.student_t(x, stanDso, unifLo=0, unifHi=.Machine$double.xmax) ## No errors
codaObject <- stanfit2mcmc.list(fit)
diag.mcmc(codaObject)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.