Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a function for extracting a test statistic
This is added to StatsAPI rather than to HypothesisTests since StatsAPI also houses `HypothesisTest`, `pvalue`, and other relevant functionality. Defining this function will bring a resolution to the 7-year-old issue JuliaStats/HypothesisTests.jl#79, which has received a number of duplicates over the years, suggesting that it would be of general interest.
- Loading branch information
27e6dc6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is
teststat(s)
shorter and still clear enough compared toteststatistic
?