set up for Bayesian inference
|
Syntax: | bayes | <option> |
---|---|---|
bayes | <mod par #> <prior type> [<hyperparameters>] |
where <option> ::= [off |on |cons]. If a parameter number is given as the first argument then this command sets up the prior for the specified model parameter but does not turn Bayesian inference on. If the first argument to the bayes command is not a parameter number then one of the options off, on, or cons is used. The first two turn Bayesian inference off or on, while cons turns Bayesian inference on and gives all parameters a constant prior. The options for prior types are as follows:
Prior type | Log(prior) | |||
cons | 0 | |||
exp | ||||
jeffreys | ||||
gauss | ||||
lognormal | ||||
gamma | ||||
cauchy | ||||
beta | ||||
studentst | ||||
halfnormal | ||||
powerlaw | for | |||
isotropic | ||||
shiftedlognormal |
Where p is the parameter value, h the hyperparameter values, and for the beta prior x = (p-min)/(max-min) where min and max are the parameter hard limits.
HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public
Last modified: Friday, 23-Aug-2024 13:20:40 EDT
HEASARC Staff Scientist Position - Applications are now being accepted for a Staff Scientist with significant experience and interest in the technical aspects of astrophysics research, to work in the High Energy Astrophysics Science Archive Research Center (HEASARC) at NASA Goddard Space Flight Center (GSFC) in Greenbelt, MD. Refer to the AAS Job register for full details.