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: README.md
+49Lines changed: 49 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,7 @@ The various mathematical statistics are listed below:
99
99
|`covariance()`| the sample covariance of two inputs |
100
100
|`linearRegression()`| return the slope and intercept of simple linear regression parameters estimated using ordinary least squares (supports `proportional: true` for regression through the origin) |
101
101
|`rSquared()`| coefficient of determination (R²) — proportion of variance explained by linear regression |
102
+
|`confidenceInterval()`| confidence interval for the mean using the normal (z) distribution |
102
103
|`kde()`| kernel density estimation — returns a closure that estimates the probability density (or CDF) at any point |
103
104
|`kdeRandom()`| random sampling from a kernel density estimate — returns a closure that generates random floats from the KDE distribution |
Return the coefficient of determination (R²) — the proportion of variance in the dependent variable explained by the linear regression model. Values range from 0 (no explanatory power) to 1 (perfect fit).
630
+
631
+
Requires at least 2 data points and arrays of the same length.
0 commit comments