Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version: Distributions v0.25.45 #53582

Merged
merged 1 commit into from
Jan 31, 2022

Conversation

JuliaRegistrator
Copy link
Contributor

UUID: 31c24e10-a181-5473-b8eb-7969acd0382f
Repo: https://github.com/JuliaStats/Distributions.jl.git
Tree: 24d26ca2197c158304ab2329af074fbe14c988e4

Registrator tree SHA: 8e1a5ac2695627143951512d700c7e3c445102ec
JuliaRegistrator referenced this pull request in JuliaStats/Distributions.jl Jan 31, 2022
* Implement Censored

* Export Censored and censored

* Apply suggestions from code review

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>

* Reorganize code

* Move check to constructor

* Make newline optional

* Reformat

* Improve show method

* Add checks for finiteness

* Implement expectations

* Satisfy required params behavior

* Overload truncated for DiscreteUniform

* Don't re-censor

* Handle case where censored to single point

* Reformat

* Add censored docs page

* Update censored.md

* Document censored

* Add truncated DiscreteUniform tests

* Add un-called truncated_uniform test suite

* Skip check for DiscreteUniform

* Add loglikelihood

Useful to avoid redundant computation of bound probabilities when performing censored regression

* Include bounds in support

* Update src/truncated/discrete_uniform.jl

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>

* Remove unnecessary checks for finiteness

* Swap order of checks

* Update censored.jl

* Support using missing to specify unbounded

* Apply suggestions from code review

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>

* Improve docstrings

* Reformat

* Rewrap signature

* Use ismissing everywhere

* Reformat

* Fix maximum

* Fix support check

* Support fields that are equivalent

This allows equality checking for distributions with fields for which `==` or `isapprox` is not defined but `===` is

* Add basic censored tests

* Apply suggestions from code review

Co-authored-by: Moritz Schauer <moritzschauer@web.de>

* Resolve ambiguity

* Resolve ambiguity

* Use equivalence check for missing everywhere

* Fix ccdf and logccdf

* Better construct mixture equivalent

* Implement mixture model for continuous censored dists

* Add uniform tests

* Enhance discrete uniform tests

* Add Poisson tests

* Fix implementation of entropy

* Test mean/std of censored Poisson

* Add normal tests

* Remove unused methods

* Test bounds check

* Add log-likelihood test

* Add test for censorship to empty interval

* Support censorship to empty intervals

* Add comments about expectations

* Add more checks for inferrability

* Test explicit expectations for DiscreteUniform

* Rewrite censored docstring

* Indicate interval censoring

* Update docs/src/index.md

Co-authored-by: Moritz Schauer <moritzschauer@web.de>

* Apply suggestions from code review

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>

* Don't use now-deleted function

* Fix tes for new params definition

* Make loglikelihood type-stable

* Add comment about equivalence check

* Unabbreviate name

* Remove inlines

* Add plaintext mimetype

* Add more truncated DiscreteUniform tests

* Add xexpx

* Compute probabilities on log scale

* Clarify variable names

* Eliminate deprecation warnings

* Fix inferrability error

* Reformat

* Add check_args keyword

* Promote each xi

* Fix checking of args

* Use bounds also to set types

* Use check_args macro

* Check for ArgumentError

* Use eps to detect empty truncation

* Use more accurate variable name

* Use oneunit

* Improve type-stability everywhere

* Exhaustively test for type-inferribility

* Remove now-unneeded test

* Revert "Improve type-stability everywhere"

This reverts commit f024f45.

* Add convenient types

* Use convenient types

* Add missing check for in support of uncensored

* Avoid promoting inputs based on bounds

* Avoid promoting inputs based on bounds

* Separate expectations to own methods

* Check in interval first

* Don't promote input types

* Apply suggestions from code review

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>

* Remove lingering reference to udnefined type

* Docstring fixes

* Consistently use d0 for uncensored

* Use nothing instead of missing

* Reorganize

* Add keyword constructor

* Document and promote keyword constructors

* Use keyword arguments in show

* Don't use isnothing in tests

* Don't print nothing

Fails on old Julia versions

* Export Censored

* Once sentence per line

* Docstring improvements

* Fix variable rendering

* Add missing comma

* Revert "Export Censored"

This reverts commit ccef571.

* Prepend with module so docs build

* Document with module prepended

* Use function ... end syntax

* Apply suggestions from code review

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>

* LeftCensored ⇌ RightCensored

* Apply suggestions from code review

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>

* Introduce xexpy

* Remove test for no-longer-supported case

* Simplify implementations

* Rearrange left before right

* Increment version number

* Use information theory notation for entropy

* Use d0 notation

* Add header

* Test infinite bounds just in case

* Apply suggestions from code review

Co-authored-by: Moritz Schauer <moritzschauer@web.de>

* Add and test partially truncated overloads for discrete uniform

* Update src/censored.jl

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: Moritz Schauer <moritzschauer@web.de>
@JuliaRegistrator JuliaRegistrator temporarily deployed to stopwatch January 31, 2022 21:19 Inactive
@github-actions
Copy link
Contributor

Your new version pull request met all of the guidelines for auto-merging and is scheduled to be merged in the next round.


If you want to prevent this pull request from being auto-merged, simply leave a comment. If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.

@JuliaTagBot JuliaTagBot merged commit a0bdc3a into master Jan 31, 2022
@JuliaTagBot JuliaTagBot deleted the registrator/distributions/31c24e10/v0.25.45 branch January 31, 2022 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants