Skip to content

Beta cdf/lcdf/lccdf prob tests wrong #1976

Open
@bbbales2

Description

@bbbales2

Description

The cdf_function is supposed to be a reference implementation (see the exponential version as an example).

The beta distribution in Stan is just testing against itself:
https://github.com/stan-dev/math/blob/develop/test/prob/beta/beta_cdf_test.hpp
https://github.com/stan-dev/math/blob/develop/test/prob/beta/beta_cdf_log_test.hpp
https://github.com/stan-dev/math/blob/develop/test/prob/beta/beta_cdf_log_test.hpp

I'm not sure of the value of a lot of the reference implementations in the test framework (I assume they're just copied from early implementations in the library), but this is still a bit of a blindspot in the tests.

Current Version:

v3.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    distributionsIssues that deal with distribution functions: pdf, pmf, cdftesting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions