@stdlib/stats-base-dists-t-quantile 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +14 -17
- package/package.json +7 -7
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2026 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -142,20 +142,17 @@ y = myquantile( 0.9 );
|
|
|
142
142
|
<!-- eslint no-undef: "error" -->
|
|
143
143
|
|
|
144
144
|
```javascript
|
|
145
|
-
var
|
|
145
|
+
var uniform = require( '@stdlib/random-array-uniform' );
|
|
146
|
+
var logEachMap = require( '@stdlib/console-log-each-map' );
|
|
146
147
|
var quantile = require( '@stdlib/stats-base-dists-t-quantile' );
|
|
147
148
|
|
|
148
|
-
var
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
var
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
v = randu() * 10.0;
|
|
156
|
-
y = quantile( p, v );
|
|
157
|
-
console.log( 'p: %d, v: %d, Q(p;v): %d', p.toFixed( 4 ), v.toFixed( 4 ), y.toFixed( 4 ) );
|
|
158
|
-
}
|
|
149
|
+
var opts = {
|
|
150
|
+
'dtype': 'float64'
|
|
151
|
+
};
|
|
152
|
+
var p = uniform( 10, 0.0, 1.0, opts );
|
|
153
|
+
var v = uniform( 10, 0.0, 10.0, opts );
|
|
154
|
+
|
|
155
|
+
logEachMap( 'p: %0.4f, v: %0.4f, Q(p;v): %0.4f', p, v, quantile );
|
|
159
156
|
```
|
|
160
157
|
|
|
161
158
|
</section>
|
|
@@ -196,7 +193,7 @@ See [LICENSE][stdlib-license].
|
|
|
196
193
|
|
|
197
194
|
## Copyright
|
|
198
195
|
|
|
199
|
-
Copyright © 2016-
|
|
196
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
200
197
|
|
|
201
198
|
</section>
|
|
202
199
|
|
|
@@ -209,8 +206,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
209
206
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/stats-base-dists-t-quantile.svg
|
|
210
207
|
[npm-url]: https://npmjs.org/package/@stdlib/stats-base-dists-t-quantile
|
|
211
208
|
|
|
212
|
-
[test-image]: https://github.com/stdlib-js/stats-base-dists-t-quantile/actions/workflows/test.yml/badge.svg?branch=v0.2.
|
|
213
|
-
[test-url]: https://github.com/stdlib-js/stats-base-dists-t-quantile/actions/workflows/test.yml?query=branch:v0.2.
|
|
209
|
+
[test-image]: https://github.com/stdlib-js/stats-base-dists-t-quantile/actions/workflows/test.yml/badge.svg?branch=v0.2.3
|
|
210
|
+
[test-url]: https://github.com/stdlib-js/stats-base-dists-t-quantile/actions/workflows/test.yml?query=branch:v0.2.3
|
|
214
211
|
|
|
215
212
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-dists-t-quantile/main.svg
|
|
216
213
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-base-dists-t-quantile?branch=main
|
|
@@ -222,8 +219,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
222
219
|
|
|
223
220
|
-->
|
|
224
221
|
|
|
225
|
-
[chat-image]: https://img.shields.io/
|
|
226
|
-
[chat-url]: https://
|
|
222
|
+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
|
|
223
|
+
[chat-url]: https://stdlib.zulipchat.com
|
|
227
224
|
|
|
228
225
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
229
226
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/stats-base-dists-t-quantile",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Student's t distribution quantile function.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@stdlib/math-base-assert-is-nan": "^0.2.
|
|
34
|
-
"@stdlib/math-base-special-kernel-betaincinv": "^0.2.
|
|
35
|
-
"@stdlib/math-base-special-signum": "^0.2.
|
|
36
|
-
"@stdlib/math-base-special-sqrt": "^0.2.
|
|
37
|
-
"@stdlib/utils-constant-function": "^0.2.
|
|
38
|
-
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.
|
|
33
|
+
"@stdlib/math-base-assert-is-nan": "^0.2.3",
|
|
34
|
+
"@stdlib/math-base-special-kernel-betaincinv": "^0.2.2",
|
|
35
|
+
"@stdlib/math-base-special-signum": "^0.2.3",
|
|
36
|
+
"@stdlib/math-base-special-sqrt": "^0.2.3",
|
|
37
|
+
"@stdlib/utils-constant-function": "^0.2.3",
|
|
38
|
+
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.3"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {},
|
|
41
41
|
"engines": {
|