stan-dev / stan-dev/loo

export srs_diff_est

Open
#333 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
Dominant language
R
Stars
157
Forks
38
Avg merge
4d 16h
Merged PRs (30d)
2

Description

loo_subsample() can sometimes be over-complex. srs_diff_est() is a non-exported internal function used by loo_subsample. srs_diff_est() implements difference estimator Equations 7-9 of Magnusson et al., 2020. It would be useful to export this function and provide user targeted function with documentation.

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 by reading the internal srs_diff_est() function and its use in loo_subsample(), then compare its implementation with Equations 7–9 in Magnusson et al. (2020). Done means the function is exported and has user-targeted documentation explaining its use.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.