Description Usage Arguments Details Value Author(s) Examples
Plot the log posterior around the posterior mode values.
1 2 3 4 5 6 7 8 | modecheck(obj,...)
## S3 method for class 'DSGEVAR'
modecheck(obj,gridsize=200,scalepar=NULL,plottransform=FALSE,par_names=NULL,
save=FALSE,height=13,width=13,...)
## S3 method for class 'EDSGE'
modecheck(obj,gridsize=200,scalepar=NULL,plottransform=FALSE,par_names=NULL,
save=FALSE,height=13,width=13,...)
|
obj |
An object of class ‘EDSGE’ or ‘DSGEVAR’. |
gridsize |
The number of grid points to use when calculating the log posterior around the mode values. |
scalepar |
A value to replace the scaling parameter from estimation (‘c’) when plotting the log posterior. |
plottransform |
Whether to plot the transformed values (i.e., such that the support of each parameter is unbounded), or to plot the untransformed values. |
par_names |
A vector of expressions containing the name of each parameter. |
save |
Whether to save the plot(s). |
height |
If save=FALSE, use this to set the height of the plot(s). |
width |
If save=FALSE, use this to set the width of the plot(s). |
... |
Additional arguments (not used). |
For an example, see the accompanying vignette.
The function will plot the value of the log posterior around the posterior mode.
Keith O'Hara
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.