# Posts tagged pymc.Model

## Splines in PyMC3

- 06 May 2022
- Category: beginner

Often, the model we want to fit is not a perfect line between some \(x\) and \(y\).
Instead, the parameters of the model are expected to vary over \(x\).
There are multiple ways to handle this situation, one of which is to fit a *spline*.
The spline is effectively multiple individual lines, each fit to a different section of \(x\), that are tied together at their boundaries, often called *knots*.

## Binomial regression

- 09 February 2022
- Category: beginner

This notebook covers the logic behind Binomial regression, a specific instance of Generalized Linear Modelling. The example is kept very simple, with a single predictor variable.

## Using a “black box” likelihood function (numpy)

- 16 December 2021
- Category: beginner

This notebook in part of a set of two twin notebooks that perform the exact same task, this one uses numpy whereas this other one uses Cython

## Hierarchical Partial Pooling

- 07 October 2021
- Category: intermediate

Suppose you are tasked with estimating baseball batting skills for several players. One such performance metric is batting average. Since players play a different number of games and bat in different positions in the order, each player has a different number of at-bats. However, you want to estimate the skill of all players, including those with a relatively small number of batting opportunities.