Skip to content

Commit 70a8feb

Browse files
committed
Auto-generated commit
1 parent 703ac93 commit 70a8feb

File tree

5 files changed

+68
-40
lines changed

5 files changed

+68
-40
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<section class="release" id="unreleased">
66

7-
## Unreleased (2024-06-08)
7+
## Unreleased (2024-06-19)
88

99
<section class="packages">
1010

@@ -74,6 +74,7 @@ A total of 7 people contributed to this release. Thank you to the following cont
7474

7575
<details>
7676

77+
- [`352993d`](https://github.com/stdlib-js/stdlib/commit/352993db5c4a41180aa78951a0bc1c9faa8aefc4) - **docs:** improve examples of `stats/base/dists/studentized-range` _(by Rejoan Sardar, Philipp Burckhardt)_
7778
- [`cc5d91f`](https://github.com/stdlib-js/stdlib/commit/cc5d91fb3df5155821344d6fffbeef23f37e8153) - **style:** remove blank line [(#2339)](https://github.com/stdlib-js/stdlib/pull/2339) _(by stdlib-bot, Philipp Burckhardt)_
7879
- [`922122e`](https://github.com/stdlib-js/stdlib/commit/922122e319c37170f16e14ce5d074273fd7f0675) - **docs:** improve examples for `stats/base/dists/normal` namespace _(by NightKnight, Philipp Burckhardt)_
7980
- [`c3ebfa8`](https://github.com/stdlib-js/stdlib/commit/c3ebfa80e311db338b171ebf8eb5f46bc66e9bf6) - **docs:** update namespace table of contents and address spelling errors _(by Philipp Burckhardt)_

CONTRIBUTORS

+2-1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Pushpendra Chandravanshi <[email protected]>
6363
Raunak Kumar Gupta <[email protected]>
6464
Rejoan Sardar <[email protected]>
6565
Ricky Reusser <[email protected]>
66+
Ridam Garg <[email protected]>
6667
Robert Gislason <[email protected]>
6768
Roman Stetsyk <[email protected]>
6869
@@ -75,7 +76,7 @@ Shraddheya Shendre <[email protected]>
7576
Shubh Mehta <[email protected]>
7677
Shubham Mishra <[email protected]>
7778
Sivam Das <[email protected]>
78-
Snehil Shah <[email protected].com>
79+
Snehil Shah <snehilshah.989@gmail.com>
7980
Soumajit Chatterjee <[email protected]>
8081
Spandan Barve <[email protected]>
8182
Stephannie Jiménez Gacha <[email protected]>

LICENSE

+30-34
Original file line numberDiff line numberDiff line change
@@ -180,44 +180,14 @@ DEPENDENCIES & ATTRIBUTION
180180
The library links against the following external libraries or contains
181181
implementations from the following external libraries, which have their own
182182
licenses:
183-
184-
* Boost <http://www.boost.org/LICENSE_1_0.txt>
185-
186-
Boost Software License - Version 1.0 - August 17th, 2003
187-
188-
Permission is hereby granted, free of charge, to any person or organization
189-
obtaining a copy of the software and accompanying documentation covered by
190-
this license (the "Software") to use, reproduce, display, distribute,
191-
execute, and transmit the Software, and to prepare derivative works of the
192-
Software, and to permit third-parties to whom the Software is furnished to
193-
do so, all subject to the following:
194-
195-
The copyright notices in the Software and this entire statement, including
196-
the above license grant, this restriction and the following disclaimer,
197-
must be included in all copies of the Software, in whole or in part, and
198-
all derivative works of the Software, unless such copies or derivative
199-
works are solely in the form of machine-executable object code generated by
200-
a source language processor.
201-
202-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
203-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
204-
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
205-
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
206-
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
207-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
208-
DEALINGS IN THE SOFTWARE.
209-
210-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
211-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
212-
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
213-
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
214-
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
215-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
216-
DEALINGS IN THE SOFTWARE.
217183
Apache License
218184
Version 2.0, January 2004
219185
http://www.apache.org/licenses/
220186

187+
The library links against the following external libraries or contains
188+
implementations from the following external libraries, which have their own
189+
licenses:
190+
221191
* StatsFuns.jl <https://raw.githubusercontent.com/JuliaStats/StatsFuns.jl/
222192
e66dd973650c375bc1739c820e5b96bb5bd000a8/LICENSE.md>
223193

@@ -242,3 +212,29 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
242212
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
243213
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
244214

215+
* Boost <http://www.boost.org/LICENSE_1_0.txt>
216+
217+
Boost Software License - Version 1.0 - August 17th, 2003
218+
219+
Permission is hereby granted, free of charge, to any person or organization
220+
obtaining a copy of the software and accompanying documentation covered by
221+
this license (the "Software") to use, reproduce, display, distribute,
222+
execute, and transmit the Software, and to prepare derivative works of the
223+
Software, and to permit third-parties to whom the Software is furnished to
224+
do so, all subject to the following:
225+
226+
The copyright notices in the Software and this entire statement, including
227+
the above license grant, this restriction and the following disclaimer,
228+
must be included in all copies of the Software, in whole or in part, and
229+
all derivative works of the Software, unless such copies or derivative
230+
works are solely in the form of machine-executable object code generated by
231+
a source language processor.
232+
233+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
234+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
235+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
236+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
237+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
238+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
239+
DEALINGS IN THE SOFTWARE.
240+

base/dists/studentized-range/README.md

+17-2
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,25 @@ The namespace contains the following distribution functions:
6565
<!-- eslint no-undef: "error" -->
6666

6767
```javascript
68-
var objectKeys = require( '@stdlib/utils/keys' );
6968
var tukey = require( '@stdlib/stats/base/dists/studentized-range' );
7069

71-
console.log( objectKeys( tukey ) );
70+
/*
71+
* Let's consider an example where we are analyzing the test scores of students in a class.
72+
* We're interested in using the Studentized Range Distribution to analyze the range of scores.
73+
* The distribution has parameters: r (number of means), v (degrees of freedom), and nranges (number of ranges).
74+
*/
75+
76+
var r = 5.0;
77+
var v = 20.0;
78+
var nranges = 3.0;
79+
80+
// CDF can be used to calculate the cumulative distribution function at a specific value:
81+
var out = tukey.cdf( 2.0, r, v, nranges );
82+
// returns ~0.074
83+
84+
// Quantile can also be used to calculate the quantile function at a specific probability:
85+
out = tukey.quantile( 0.9, r, v, nranges );
86+
// returns ~4.433
7287
```
7388

7489
</section>

base/dists/studentized-range/examples/index.js

+17-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,22 @@
1818

1919
'use strict';
2020

21-
var objectKeys = require( '@stdlib/utils/keys' );
2221
var tukey = require( './../lib' );
2322

24-
console.log( objectKeys( tukey ) );
23+
/*
24+
* Let's consider an example where we are analyzing the test scores of students in a class.
25+
* We're interested in using the Studentized Range Distribution to analyze the range of scores.
26+
* The distribution has parameters: r (number of means), v (degrees of freedom), and nranges (number of ranges).
27+
*/
28+
29+
var r = 5.0;
30+
var v = 20.0;
31+
var nranges = 3.0;
32+
33+
// CDF can be used to calculate the cumulative distribution function at a specific value:
34+
console.log( tukey.cdf( 2.0, r, v, nranges ) );
35+
// => ~0.074
36+
37+
// Quantile can also be used to calculate the quantile function at a specific probability:
38+
console.log( tukey.quantile( 0.9, r, v, nranges ) );
39+
// => ~4.433

0 commit comments

Comments
 (0)