Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 25 additions & 27 deletions lib/node_modules/@stdlib/stats/base/dists/chisquare/cdf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,31 @@ y = mycdf( 1.5 );

<!-- /.usage -->

<section class="examples">

## Examples

<!-- eslint no-undef: "error" -->

```javascript
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
var uniform = require( '@stdlib/random/array/uniform' );
var logEachMap = require( '@stdlib/console/log-each-map' );
var cdf = require( '@stdlib/stats/base/dists/chisquare/cdf' );

var opts = {
'dtype': 'float64'
};
var x = uniform( 20, 0.0, 10.0, opts );
var k = discreteUniform( 20, 0, 10, opts );

logEachMap( 'x: %0.4f, k: %d, F(x;k): %0.4f', x, k, cdf );
```

</section>

<!-- /.examples -->

* * *

<section class="c">
Expand Down Expand Up @@ -207,33 +232,6 @@ int main( void ) {

<!-- /.c -->

* * *

<section class="examples">

## Examples

<!-- eslint no-undef: "error" -->

```javascript
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
var uniform = require( '@stdlib/random/array/uniform' );
var logEachMap = require( '@stdlib/console/log-each-map' );
var cdf = require( '@stdlib/stats/base/dists/chisquare/cdf' );

var opts = {
'dtype': 'float64'
};
var x = uniform( 20, 0.0, 10.0, opts );
var k = discreteUniform( 20, 0, 10, opts );

logEachMap( 'x: %0.4f, k: %d, F(x;k): %0.4f', x, k, cdf );
```

</section>

<!-- /.examples -->

<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->

<section class="related">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@
"prob",
"chi",
"squared",
"chisq",
"chisquare",
"chisquared",
"chi-square",
"chi-squared",
"cdf",
"pdf",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"shannon",
"information",
"nats",
"chisq",
"chisquare",
"chisquared",
"chi-square",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,11 @@
"location",
"percentile",
"center",
"chisq",
"chisquare",
"chi-square",
"chisquared",
"chi-square",
"chi-squared",
"univariate",
"continuous"
]
Expand Down