BAT
0.9.4
The Bayesian analysis toolkit
|
A class for summarizing the results of an analysis. More...
#include <BCSummaryTool.h>
Public Member Functions | |
Constructors and destructors | |
BCSummaryTool () | |
BCSummaryTool (BCModel *model) | |
~BCSummaryTool () | |
Member functions (get) | |
BCSummaryPriorModel * | GetPriorModel () |
Member functions (set) | |
void | SetModel (BCModel *model) |
Member functions (misc) | |
int | CalculatePriorModel () |
int | CopySummaryData () |
int | PrintParameterPlot (const char *filename="parameters.pdf") |
int | PrintCorrelationMatrix (const char *filename="matrix.pdf") |
int | PrintCorrelationPlot (const char *filename="correlation.pdf") |
int | DrawKnowledgeUpdatePlot1D (int index, std::string options_post="", std::string options_prior="") |
int | PrintKnowledgeUpdatePlot1D (int index, const char *filename, std::string options_post="", std::string options_prior="") |
int | PrintKnowledgeUpdatePlots (const char *filename="update.pdf", std::string options="") |
int | PrintParameterLatex (const char *filename) |
A class for summarizing the results of an analysis.
This class can be used to summarize the results of an analysis. The prior and posterior probabilities are compared.
Definition at line 34 of file BCSummaryTool.h.
BCSummaryTool::BCSummaryTool | ( | ) |
The default constructor.
Definition at line 42 of file BCSummaryTool.cxx.
BCSummaryTool::BCSummaryTool | ( | BCModel * | model | ) |
A constructor.
Definition at line 62 of file BCSummaryTool.cxx.
BCSummaryTool::~BCSummaryTool | ( | ) |
The default destructor.
Definition at line 82 of file BCSummaryTool.cxx.
int BCSummaryTool::CalculatePriorModel | ( | ) |
Calculate the marginalized distributions using the prior knowledge alone.
Definition at line 931 of file BCSummaryTool.cxx.
int BCSummaryTool::CopySummaryData | ( | ) |
Copy the summary information from the model.
Definition at line 88 of file BCSummaryTool.cxx.
int BCSummaryTool::DrawKnowledgeUpdatePlot1D | ( | int | index, |
std::string | options_post = "" , |
||
std::string | options_prior = "" |
||
) |
Draw a comparison of the prior knowledge to the posterior knowledge for each parameter.
Definition at line 583 of file BCSummaryTool.cxx.
|
inline |
Retrieve pointer to the Prior model to allow for its detailed setup
Definition at line 59 of file BCSummaryTool.h.
int BCSummaryTool::PrintCorrelationMatrix | ( | const char * | filename = "matrix.pdf" | ) |
Print a correlation matrix for the parameters.
Definition at line 317 of file BCSummaryTool.cxx.
int BCSummaryTool::PrintCorrelationPlot | ( | const char * | filename = "correlation.pdf" | ) |
Print a correlation plot for the parameters.
Definition at line 414 of file BCSummaryTool.cxx.
int BCSummaryTool::PrintKnowledgeUpdatePlot1D | ( | int | index, |
const char * | filename, | ||
std::string | options_post = "" , |
||
std::string | options_prior = "" |
||
) |
Print a comparison of the prior knowledge to the posterior knowledge for each parameter.
Definition at line 563 of file BCSummaryTool.cxx.
int BCSummaryTool::PrintKnowledgeUpdatePlots | ( | const char * | filename = "update.pdf" , |
std::string | options = "" |
||
) |
Print a comparison of the prior knowledge to the posterior knowledge for each parameter.
Definition at line 709 of file BCSummaryTool.cxx.
int BCSummaryTool::PrintParameterLatex | ( | const char * | filename | ) |
Print a Latex table of the parameters.
Definition at line 873 of file BCSummaryTool.cxx.
int BCSummaryTool::PrintParameterPlot | ( | const char * | filename = "parameters.pdf" | ) |
Print a summary plot for the parameters.
Definition at line 166 of file BCSummaryTool.cxx.
|
inline |
Set the model to be summarized.
model | The BCModel to be summarized. |
Definition at line 69 of file BCSummaryTool.h.