Skip to content
Snippets Groups Projects
Commit 43b603e5 authored by Martin Renoult's avatar Martin Renoult
Browse files

Update Bayesian_for_mPWP_PlioMIP.py

parent cd60a2cb
No related branches found
No related tags found
No related merge requests found
......@@ -121,10 +121,11 @@ with Model() as model: # model specifications in PyMC3 are wrapped in a with-sta
# Priors for a Normal-Inverse Gamma conjugate approach.
# In conjugate approach, priors on intercept and slope depends on a scaled sigma
# and need to be defined that way to match mathematical equations.
# and need to be defined that way to match mathematical equations. Beta is defined
# as rate parameter to match the conjugate approach package (1/scale).
# This part should be mainly used for comparison / check with the conjugate approach code
# sigma = InverseGamma('Sigma',alpha=0.5,beta=0.5)
# sigma = InverseGamma('Sigma',alpha=0.5,beta=1/0.5)
# intercept = Normal('Intercept', mn_intercept, sd=sigma/precis_intercept)
# x_coeff = Normal('x', mn_slope, sd=sigma/precis_slope)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment