Skip to content

Instantly share code, notes, and snippets.

@matpalm
Last active December 10, 2015 07:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matpalm/4404631 to your computer and use it in GitHub Desktop.
Save matpalm/4404631 to your computer and use it in GitHub Desktop.
uniform std dev
std_dev = Uniform('std_dev', lower=0, upper=50)
@deterministic(plot=False)
def precision(std_dev=std_dev):
return 1.0 / (std_dev * std_dev)
process = Normal('process', mu=mean, tau=precision, value=data, observed=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment