@stdlib/stats-base-dists-beta-logpdf 0.0.2 → 0.0.6
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 +32 -4
- package/package.json +2 -2
- package/CHANGELOG.md +0 -5
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2022 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ limitations under the License.
|
|
|
20
20
|
|
|
21
21
|
# Logarithm of Probability Density Function
|
|
22
22
|
|
|
23
|
-
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
|
|
23
|
+
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
|
|
24
24
|
|
|
25
25
|
> [Beta][beta-distribution] distribution logarithm of probability density function (PDF).
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ The [probability density function][pdf] (PDF) for a [beta][beta-distribution] ra
|
|
|
31
31
|
<!-- <equation class="equation" label="eq:beta_pdf" align="center" raw="f(x;\alpha,\beta)= \begin{cases} \frac{\Gamma(\alpha + \beta)}{\Gamma(\alpha) + \Gamma(\beta)}{x^{\alpha-1}(1-x)^{\beta-1}} & \text{ for } x \in (0,1) \\ 0 & \text{ otherwise } \end{cases}" alt="Probability density function (PDF) for a beta distribution."> -->
|
|
32
32
|
|
|
33
33
|
<div class="equation" align="center" data-raw-text="f(x;\alpha,\beta)= \begin{cases} \frac{\Gamma(\alpha + \beta)}{\Gamma(\alpha) + \Gamma(\beta)}{x^{\alpha-1}(1-x)^{\beta-1}} & \text{ for } x \in (0,1) \\ 0 & \text{ otherwise } \end{cases}" data-equation="eq:beta_pdf">
|
|
34
|
-
<img src="https://cdn.
|
|
34
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@51534079fef45e990850102147e8945fb023d1d0/lib/node_modules/@stdlib/stats/base/dists/beta/logpdf/docs/img/equation_beta_pdf.svg" alt="Probability density function (PDF) for a beta distribution.">
|
|
35
35
|
<br>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
@@ -177,6 +177,16 @@ for ( i = 0; i < 10; i++ ) {
|
|
|
177
177
|
|
|
178
178
|
<!-- /.examples -->
|
|
179
179
|
|
|
180
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
181
|
+
|
|
182
|
+
<section class="related">
|
|
183
|
+
|
|
184
|
+
</section>
|
|
185
|
+
|
|
186
|
+
<!-- /.related -->
|
|
187
|
+
|
|
188
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
189
|
+
|
|
180
190
|
|
|
181
191
|
<section class="main-repo" >
|
|
182
192
|
|
|
@@ -188,6 +198,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
188
198
|
|
|
189
199
|
For more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib].
|
|
190
200
|
|
|
201
|
+
#### Community
|
|
202
|
+
|
|
203
|
+
[![Chat][chat-image]][chat-url]
|
|
204
|
+
|
|
191
205
|
---
|
|
192
206
|
|
|
193
207
|
## License
|
|
@@ -197,7 +211,7 @@ See [LICENSE][stdlib-license].
|
|
|
197
211
|
|
|
198
212
|
## Copyright
|
|
199
213
|
|
|
200
|
-
Copyright © 2016-
|
|
214
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
201
215
|
|
|
202
216
|
</section>
|
|
203
217
|
|
|
@@ -216,9 +230,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
216
230
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-dists-beta-logpdf/main.svg
|
|
217
231
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-base-dists-beta-logpdf?branch=main
|
|
218
232
|
|
|
219
|
-
|
|
233
|
+
<!--
|
|
234
|
+
|
|
235
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/stats-base-dists-beta-logpdf.svg
|
|
220
236
|
[dependencies-url]: https://david-dm.org/stdlib-js/stats-base-dists-beta-logpdf/main
|
|
221
237
|
|
|
238
|
+
-->
|
|
239
|
+
|
|
240
|
+
[umd]: https://github.com/umdjs/umd
|
|
241
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
242
|
+
|
|
243
|
+
[deno-url]: https://github.com/stdlib-js/stats-base-dists-beta-logpdf/tree/deno
|
|
244
|
+
[umd-url]: https://github.com/stdlib-js/stats-base-dists-beta-logpdf/tree/umd
|
|
245
|
+
[esm-url]: https://github.com/stdlib-js/stats-base-dists-beta-logpdf/tree/esm
|
|
246
|
+
|
|
247
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
248
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
249
|
+
|
|
222
250
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
223
251
|
|
|
224
252
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/stats-base-dists-beta-logpdf",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Beta distribution logarithm of probability density function (PDF).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"examples": "make examples",
|
|
29
29
|
"benchmark": "make benchmark"
|
|
30
30
|
},
|
|
31
|
-
"homepage": "https://
|
|
31
|
+
"homepage": "https://stdlib.io",
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
34
|
"url": "git://github.com/stdlib-js/stats-base-dists-beta-logpdf.git"
|