easystats / easystats/performance

Compatibility with {rethinking} models

Open
#412 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement :boom: Low priority :sleeping:
Dominant language
R
Stars
1.2k
Forks
109
Avg merge
6h 34m
Merged PRs (30d)
8

Description

Hi!
Would it be possible to make your package compatible with {rethinking} models? Especially ulam, which is built on top of STAN. {tidybayes} package did the same, so it might be useful resource.

For example, this throws an error:

d <- list(x = dnorm(100))

m <- rethinking::ulam(
    alist(
        x ~ dnorm(mu, 1),
        mu ~ dnorm(0, 1)
    ), data = d
)

performance::check_model(m)

Thank you in advance.

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

Start with the compatibility path exercised by performance::check_model(m) for the rethinking::ulam example, and consult the linked tidybayes.rethinking package as a reference. Done means the supplied ulam model no longer throws an error when checked.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
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.