Method pest/mcmcPlot


  MCMCPLOT.M - Tool to plot results of a MCMC sampling.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION:  Simple tool that plots results from mcmc pest objects.
                Plots the traces of the chains and th PDFs of the
                parameters.
 
  CALL: mcmcPlot(pest_obj,pl)
 
  PARAMETERS: - pest_obj: pest object
              - pl: plist
 
     EXAMPLE: - mcmcPlot(p,plist('plotmatrix',true,'burnin',5000,'pdfs',[2 4 5]))
 
 ParametersDescription
 
  Nikos Oct 2011
 
 
Method Details
Access public
Defining Class pest
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
CHAINS [] none Insert an array containing the parameters to plot. If left empty,then by default will plot the chains of every parameter. If set to zero then no chains are plotted. (note: The loglikelihood is stored in the first column)
BURNIN 1 none Number of samples (of the chains) to be discarded for the computation of the PDFs of the parameters. Also usedfor producing the plotmatrix figure.
NBINS 10 none Number of bins of the pdf histogram computed for every parameter (used again for the computation of the PDFs of the parameters)
PLOTMATRIX 0
  • 0
  • 1
Flag to determine if a plotmatrix is desired
PDFS 0 none Determine if a plot of the PDFs of each parameter is desired. The same as the 'CHAINS' option but for plotting the PDFs of the paramters.
PLOT FIT CURVES 1
  • 1
  • 0
Set to true to attempt to plot Gaussian fit curves to parameters histograms.
PARAM NAMES [] none Cell array of names of the parameters to be assigned to each plot. If left empty the default values from the pest object will be used. If the 'NAMES' field of the pest object is empty, some default names will be used.
SEPARATE PDFS [] none Optional: If the user desires only a particular set of parameters PDFs to be plotted, he must enter the vector containing these parameters. For example if the input of this field is [2 3], then only the PDFs of the 2nd and 3rd parameter are going to be plotted. The 'pdfs' field must be set to true.
COLORPDFS 'r-' none Choose a color for the fitted Gaussians on the PDFs. Default is red ('r-').
COLORMAP [] none Choose a colormap for the PDF histograms. By default colormaps are not used. Note: For best results it is recomended to use this option with less than 25 'NBINS'. For the available colormaps type 'doc colormap'in the terminal.
RESULTS 0
  • 0
  • 1
Set to "true" if a table of the results of the estimated parameters is desired.The results are printed on screen in 2 columns: the 1st contains the mean valueand the second the sigma.
back to top back to top

Some information of the method pest/mcmcPlot are listed below:
Class name pest
Method name mcmcPlot
Category Helper
Package name ltpda
VCS Version 3542afe99dea25c636b7ac3b82a9f6f8be9d447d
Min input args 1
Max input args -1
Min output args 1
Max output args -1




©LTP Team