Skip to content

Wrapped cauchy density implementation #396

Open
@benlambertStan

Description

@benlambertStan

Summary:

Add wrapped cauchy density to Stan math library.

Description:

Implement a wrapped cauchy distribution (a useful distribution in circular statistics) as described in ``An extended family of circular distributions related to wrapped Cauchy distributions via Brownian motion'', S. Kato and M.C. Jones, Bernoulli 19(1), 2013, 154–171. This distribution is characterised by a location parameter -pi()<=mu<=pi(), and a scale parameter 0<=rho<=1, with support from -pi()<=y<=pi().

Current Output:

This function doesn't exist in the Stan math library.

Expected Output:

Five functions: wrapped_cauchy_log, wrapped_cauchy_cdf, wrapped_cauchy_cdf_log, wrapped_cauchy_ccdf_log, wrapped_cauchy_rng.

Current Version:

v2.12.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions