pymc-devs / pymc-devs/pymc-examples

Missing lambdas in Case Study 1 of Introductory Overview of PyMC

Open
#380 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Introductory Overview of PyMC:
https://www.pymc.io/projects/docs/en/latest/learn/core_notebooks/pymc_overview.html:

Issue description

In the Model of Case Study 1 the local shrinkage prior $\tilde\lambda^2_i$ is specified as
$\tilde \lambda^2_i = \frac{c^2*\lambda^2_i}{c^2 + \tau^2*\lambda^2_i}$. However in the pymc model "test_score_model", more precisely in the specification of the beta parameters, the $\lambda^2_i$ dissapears from the numerator, see at.sqrt(c2 / (c2 + tau**2 * lam**2)).

I dont know if i missing something.

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.

Research direction

Open the Introductory Overview of PyMC notebook at the linked URL and locate Case Study 1, especially the test_score_model beta-parameter specification. Compare the implemented expression with the stated local shrinkage prior and review the surrounding model derivation. Done means the notebook consistently represents the intended formula, or clearly explains why the implementation differs.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
documentation, machine-learning
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.