stan-dev / stan-dev/math

poisson_log cdfs

Open
#90 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature new function
Dominant language
C++
Stars
839
Forks
220
Avg merge
2d 4h
Merged PRs (30d)
14

Description

From @bob-carpenter on April 29, 2015 13:47

Requested by Henrik Mannerström on stan-users:

Add:

  • poisson_log_cdf
  • poisson_log_cdf_log
  • poisson_log_ccdf_log

And then we can do truncations.

Copied from original issue: stan-dev/stan#1432

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 locating the existing Poisson-related entry points and tests in the Stan Math Library, then compare their conventions with the three requested functions: poisson_log_cdf, poisson_log_cdf_log, and poisson_log_ccdf_log. Done means all three functions are implemented and covered by tests, enabling the requested truncation work.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.