multivariate students t distribution #266
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@henryjac's pr #176 modified for new multivariate API, one meaningful refactor I added is a commit that is bolded
feat: implement multivariate students t distribution
fix: Use ln_pdf_const instead of pdf_const
feat: creation of multivariate normal distribution from same variables as multivariate students (for when freedom = inf)
fix: use multivariate normal pdf when freedom = inf for multivariate student
test: panic test for invalid pdf argument
fix: tests in documentation
fix: clearer function name in test
fix: add documentation
tests: 3d matrices test cases for pdf.
Also improves documentation for multivariate t minorly.
test: modify test case in multivariate_t
the float chosen happens to approximate f64::LOG10_2 this leads to a linting error
instead of suppressing, just choosing a different value and testing against scipy
feat: update multivariate student to dimension generic API
refactor: adds exposed Normal density for reuse in infinite DOF student distribution
chore: run linting