Skip to content

GLM linear #81

Closed
Closed
@OriolAbril

Description

@OriolAbril

File: https://github.com/pymc-devs/pymc-examples/blob/main/examples/generalized_linear_models/GLM-linear.ipynb
Reviewers:

Please refer to the notebook updates overview for more detailed guidance on the points below

Known changes needed

Changes listed in this section should all be done at some point in order to get this
notebook to a "Best Practices" state. However, these are probably not enough!
Make sure to thoroughly review the notebook and search for other updates.

General updates

  • Use new numpy random generator
  • Check why manual model runs slower. Is the default prior of glm.from_formula a halfcauchy?

ArviZ related

  • In code cell 7, pass figsize as kwarg to plot_trace, not as plt.figure argument.

Notes

Should that notebook mention bambi at some point? cc @aloctavodia

Exotic dependencies

I think it needs patsy, not completely sure if it' installed with pymc3 or if it's an optional dependency.

Computing requirements

Models run in less than 30 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    high impactNotebooks with most visits on docs.pymc.iotracker idIssues used as trackers in the notebook update project, do not close!

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions