Student-t prior. More...
#include <gpr/prior/PriorT.h>
Public Member Functions | |
| PriorT () | |
| virtual | ~PriorT () |
| double | calculateLogPrior (const FieldMatrixd &x) override |
| FieldMatrixd | calculateLogPriorGradient (const FieldMatrixd &x) override |
| Public Member Functions inherited from gpr::PriorBase | |
| PriorBase () | |
| void | clear () |
| double | getMu () const |
| double | getS2 () const |
| double | getNu () const |
| void | setMu (const double value) |
| void | setS2 (const double value) |
| void | setNu (const double value) |
| void | setParameters (const PriorBase &other) |
Additional Inherited Members | |
| Protected Attributes inherited from gpr::PriorBase | |
| double | mu |
| double | s2 |
| double | nu |
Student-t prior.
Creates Student's t-distribution prior in which the named parameters have the specified values. Any unspecified parameters are set to default values.
The parameterization is as in Gelman, Carlin, Stern, Dunson, Vehtari, and Rubin (2013). Bayesian Data Analysis, third edition.
|
overridevirtual |
Reimplemented from gpr::PriorBase.
Definition at line 22 of file PriorT.cpp.
|
overridevirtual |
Reimplemented from gpr::PriorBase.
Definition at line 45 of file PriorT.cpp.