Skip to content

Commit fdcf93d

Browse files
authored
docs: update example variables and document domain
PR-URL: #12301 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 4ed822d commit fdcf93d

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/node_modules/@stdlib/stats/base/dists/chisquare/mean/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The [expected value][expected-value] for a [chi-squared][chisquare-distribution]
4141

4242
<!-- </equation> -->
4343

44-
where `k` is the degrees of freedom.
44+
where `k >= 0` is the degrees of freedom.
4545

4646
</section>
4747

lib/node_modules/@stdlib/stats/base/dists/chisquare/median/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ v = median( 2.0 );
5555
If provided `k < 0`, the function returns `NaN`.
5656

5757
```javascript
58-
var y = median( -1.0 );
58+
var v = median( -1.0 );
5959
// returns NaN
6060
```
6161

lib/node_modules/@stdlib/stats/base/dists/chisquare/median/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
* // returns ~1.386
3838
*
3939
* @example
40-
* var k = median( -0.2 );
40+
* var v = median( -0.2 );
4141
* // returns NaN
4242
*
4343
* @example
44-
* var k = median( NaN );
44+
* var v = median( NaN );
4545
* // returns NaN
4646
*/
4747
declare function median( k: number ): number;

0 commit comments

Comments
 (0)