| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bbb1a8e commit a0f82dd
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -449,9 +449,9 @@ However, for reading convenience, most of the examples show sorted sequences. | |||
| 449 | 449 | variance indicates that the data is spread out; a small variance indicates | |
| 450 | 450 | it is clustered closely around the mean. | |
| 451 | 451 | ||
| 452 | - If the optional second argument *mu* is given, it is typically the mean of | ||
| 453 | - the *data*. It can also be used to compute the second moment around a | ||
| 454 | - point that is not the mean. If it is missing or ``None`` (the default), | ||
| 452 | + If the optional second argument *mu* is given, it should be the *population* | ||
| 453 | + mean of the *data*. It can also be used to compute the second moment around | ||
| 454 | + a point that is not the mean. If it is missing or ``None`` (the default), | ||
| 455 | 455 | the arithmetic mean is automatically calculated. | |
| 456 | 456 | ||
| 457 | 457 | Use this function to calculate the variance from the entire population. To | |
@@ -521,8 +521,8 @@ However, for reading convenience, most of the examples show sorted sequences. | |||
| 521 | 521 | the data is spread out; a small variance indicates it is clustered closely | |
| 522 | 522 | around the mean. | |
| 523 | 523 | ||
| 524 | - If the optional second argument *xbar* is given, it should be the mean of | ||
| 525 | - *data*. If it is missing or ``None`` (the default), the mean is | ||
| 524 | + If the optional second argument *xbar* is given, it should be the *sample* | ||
| 525 | + mean of *data*. If it is missing or ``None`` (the default), the mean is | ||
| 526 | 526 | automatically calculated. | |
| 527 | 527 | ||
| 528 | 528 | Use this function when your data is a sample from a population. To calculate | |
@@ -538,8 +538,8 @@ However, for reading convenience, most of the examples show sorted sequences. | |||
| 538 | 538 | >>> variance(data) | |
| 539 | 539 | 1.3720238095238095 | |
| 540 | 540 | ||
| 541 | - If you have already calculated the mean of your data, you can pass it as the | ||
| 542 | - optional second argument *xbar* to avoid recalculation: | ||
| 541 | + If you have already calculated the sample mean of your data, you can pass it | ||
| 542 | + as the optional second argument *xbar* to avoid recalculation: | ||
| 543 | 543 | ||
| 544 | 544 | .. doctest:: | |
| 545 | 545 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments