You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
## 1.2.3 - WIP
4
4
- Adding `kde()` method for Kernel Density Estimation — returns a closure that estimates PDF or CDF from sample data, supporting 9 kernel functions with aliases
5
+
- Adding `kdeRandom()` method for random sampling from a Kernel Density Estimate — returns a closure that generates random floats from the KDE distribution
5
6
6
7
## 1.2.2 - 2026-02-21
7
8
- Adding `method` parameter to `quantiles()` supporting `'exclusive'` (default) and `'inclusive'` interpolation methods
Copy file name to clipboardExpand all lines: README.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,7 @@ The various mathematical statistics are listed below:
83
83
|`covariance()`| the sample covariance of two inputs |
84
84
|`linearRegression()`| return the slope and intercept of simple linear regression parameters estimated using ordinary least squares (supports `proportional: true` for regression through the origin) |
85
85
|`kde()`| kernel density estimation — returns a closure that estimates the probability density (or CDF) at any point |
86
+
|`kdeRandom()`| random sampling from a kernel density estimate — returns a closure that generates random floats from the KDE distribution |
86
87
87
88
#### Stat::mean( array $data )
88
89
Return the sample arithmetic mean of the array _$data_.
@@ -429,6 +430,29 @@ $F(2.5);
429
430
// estimated CDF at x = 2.5 (probability that a value is <= 2.5)
0 commit comments