Posts tagged pymc3.HalfNormal
Using shared variables (Data container adaptation)
- 16 December 2021
- Category: beginner
The pymc.Data
container class wraps the theano shared variable class and lets the model be aware of its inputs and outputs. This allows one to change the value of an observed variable to predict or refit on new data. All variables of this class must be declared inside a model context and specify a name for them.
GLM: Robust Regression using Custom Likelihood for Outlier Classification
- 17 November 2021
- Category: intermediate
Using PyMC3 for Robust Regression with Outlier Detection using the Hogg 2010 Signal vs Noise method.
Hierarchical Binomial Model: Rat Tumor Example
- 11 November 2021
- Category: intermediate
This short tutorial demonstrates how to use PyMC3 to do inference for the rat tumour example found in chapter 5 of Bayesian Data Analysis 3rd Edition [Gelman et al., 2013]. Readers should already be familliar with the PyMC3 API.
Estimating parameters of a distribution from awkwardly binned data
- 23 October 2021
- Category: intermediate
Let us say that we are interested in inferring the properties of a population. This could be anything from the distribution of age, or income, or body mass index, or a whole range of different possible measures. In completing this task, we might often come across the situation where we have multiple datasets, each of which can inform our beliefs about the overall population.
Multivariate Gaussian Random Walk
- 25 September 2021
- Category: beginner
This notebook shows how to fit a correlated time series using multivariate Gaussian random walks (GRWs). In particular, we perform a Bayesian regression of the time series data against a model dependent on GRWs.
Rolling Regression
- 15 September 2021
- Category: intermediate
Pairs trading is a famous technique in algorithmic trading that plays two stocks against each other.
A Hierarchical model for Rugby prediction
- 30 August 2021
- Category: intermediate
Based on the following blog post: Daniel Weitzenfeld’s, which based on the work of Baio and Blangiardo.