pymc-devs / pymc-devs/pymc-examples

Add an example of predicting on a new, unseen group in the existing notebook about hierarchical models

Open
#418 1 comment 0 reactions 1 assignee View on GitHub

@lucianopaz is already working on this.

Since Sep 19, 2022.

proposal
Dominant language
Python
Stars
398
Forks
325
Avg merge
9d 15m
Merged PRs (30d)
1

Description

Proposal

In the existing notebook A Primer on Bayesian Methods for Multilevel Modeling, add an example at the bottom, in the section about prediction, about making predictions on a new, unseen group.

Why should this notebook be added to pymc-examples?

The prediction section of the tutorial on multilevel models says that one can make predictions on existing and new groups. But it only gives an example of predicting on an existing group. This addition would fill a gap noted in this Discourse thread.

References

Luciano's reply in the aforementioned Discourse thread has some clues for what the example might look like, though it needs to be updated from pymc3 to pymc.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.