@danielsimonjr/mathts-statistics 0.2.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { DIST_WORKER_THRESHOLD, Distribution, SampleNOptions, anova, bartlettTest, bernoulli, bernoulliPMF, betaCDF, betaDist, betaPDF, betaQuantile, binomialDist, binomialPMF, binomialTest, cauchyCDF, cauchyPDF, cauchyQuantile, chiSquareTest, chiSquaredCDF, chiSquaredDist, chiSquaredQuantile, combinations, combinationsWithRep, corr, corrcoef, cov, cumsum, doubleFactorial, entropy, exponentialCDF, exponentialDist, exponentialPDF, fCDF, fDist, fQuantile, fTest, factorial, fallingFactorial, fisherExact, gamma, gammaCDF, gammaDist, gammaPDF, gammaQuantile, geometricPMF, gmean, hmean, hypergeometricDist, iqr, jarqueBera, jsDivergence, kendallTau, kldivergence, kolmogorovSmirnov2Test, kolmogorovSmirnovTest, kruskalWallis, kurtosis, laplaceCDF, laplacePDF, laplaceQuantile, leveneTest, lgamma, logNormalDist, logisticCDF, logisticPDF, logisticQuantile, mad, mannWhitneyTest, max, maxSelect, mean, median, medianSelect, min, minSelect, mode, moment, multinomial, negativeBinomialDist, noncentralChi2PDF, normalCDF, normalDist, normalPDF, normalQuantile, parallelStatCorr, parallelStatCumsum, parallelStatDistance, parallelStatHistogram, parallelStatMAD, parallelStatMax, parallelStatMean, parallelStatMedian, parallelStatMin, parallelStatMinMax, parallelStatMode, parallelStatNorm, parallelStatPercentile, parallelStatProd, parallelStatQuantile, parallelStatStd, parallelStatSum, parallelStatVariance, permutations, pickRandom, poissonDist, poissonPMF, principalComponentAnalysis, prod, proportionZTest, quantileSeq, quickSelect, random, randomInt, rankdata, risingFactorial, seedProbabilityRng, sem, shapiroWilkTest, skewness, spearman, std, studentTCDF, studentTPDF, studentTQuantile, studentTTest, studentTTestPaired, studentizedRangeCDF, studentizedRangeQuantile, subfactorial, sum, tDist, tukeyHSD, typedDistributions, typedProbability, typedStatistics, uniformDist, variance, weibullDist, wilcoxon, zscore } from '@danielsimonjr/mathts-functions';
1
+ export { Anova2Effect, Anova2Result, BootstrapCIOptions, ConfidenceInterval, CorrelationTestResult, DIST_WORKER_THRESHOLD, DescribeResult, Distribution, HistogramResult, HotellingResult, LinRegressResult, MultivariateDistribution, NormalityTestResult, PermutationOptions, SampleNOptions, acf, andersonDarlingTest, anova, anova2, bartlettTest, bernoulli, bernoulliPMF, beta, betaCDF, betaDist, betaPDF, betaQuantile, binomialDist, binomialPMF, binomialTest, bootstrapCI, cauchyCDF, cauchyPDF, cauchyQuantile, chiSquareTest, chiSquaredCDF, chiSquaredDist, chiSquaredQuantile, combinations, combinationsWithRep, corr, corrcoef, cov, cummax, cummin, cumprod, cumsum, cumtrapz, dagostinoTest, describe, detrend, digamma, discreteUniformDist, doubleFactorial, entropy, ewma, exponentialCDF, exponentialDist, exponentialPDF, fCDF, fDist, fQuantile, fTest, factorial, fallingFactorial, fisherExact, friedmanTest, gamma, gammaCDF, gammaDist, gammaPDF, gammaQuantile, geometricPMF, gmean, gumbelDist, histogram, hmean, hotellingT2, hypergeometricDist, invGaussDist, iqr, jarqueBera, jsDivergence, kendallTau, kendalltau, kldivergence, kmeans, kolmogorovSmirnov2Test, kolmogorovSmirnovTest, kruskalWallis, kurtosis, laplaceCDF, laplacePDF, laplaceQuantile, leveneTest, lgamma, linearRegression, linregress, logNormalDist, logisticCDF, logisticPDF, logisticQuantile, logsumexp, mad, mahalanobis, mannWhitneyTest, max, maxSelect, mean, meanCI, median, medianSelect, min, minSelect, mode, moment, movingAverage, multinomial, multipleComparison, multivariateNormal, negativeBinomialDist, noncentralChi2PDF, normalCDF, normalDist, normalPDF, normalQuantile, parallelStatCorr, parallelStatCumsum, parallelStatDistance, parallelStatHistogram, parallelStatMAD, parallelStatMax, parallelStatMean, parallelStatMedian, parallelStatMin, parallelStatMinMax, parallelStatMode, parallelStatNorm, parallelStatPercentile, parallelStatProd, parallelStatQuantile, parallelStatStd, parallelStatSum, parallelStatVariance, paretoDist, pearsonr, permutationTest, permutations, pickRandom, poissonDist, poissonPMF, polyFit, principalComponentAnalysis, prod, proportionCI, proportionZTest, ptp, quantileSeq, quickSelect, random, randomInt, rankdata, rayleighDist, risingFactorial, seedProbabilityRng, sem, shapiroWilkTest, skewness, softmax, spearman, spearmanr, spectralClustering, std, studentTCDF, studentTPDF, studentTQuantile, studentTTest, studentTTestPaired, studentizedRangeCDF, studentizedRangeQuantile, subfactorial, sum, tDist, trapzF64, triangularDist, trimmedMean, tukeyHSD, typedDistributions, typedProbability, typedStatistics, uniformDist, variance, variation, weibullDist, wilcoxon, zscore } from '@danielsimonjr/mathts-functions';
package/dist/index.js CHANGED
@@ -147,12 +147,70 @@ import {
147
147
  seedProbabilityRng,
148
148
  typedProbability
149
149
  } from "@danielsimonjr/mathts-functions";
150
+ import {
151
+ linearRegression,
152
+ polyFit,
153
+ cummax,
154
+ cummin,
155
+ cumprod,
156
+ cumtrapz,
157
+ trapzF64,
158
+ movingAverage,
159
+ ewma,
160
+ detrend,
161
+ acf,
162
+ logsumexp,
163
+ softmax,
164
+ kmeans,
165
+ spectralClustering,
166
+ beta,
167
+ digamma
168
+ } from "@danielsimonjr/mathts-functions";
169
+ import {
170
+ linregress,
171
+ pearsonr,
172
+ spearmanr,
173
+ kendalltau,
174
+ ptp,
175
+ variation,
176
+ trimmedMean,
177
+ describe,
178
+ histogram
179
+ } from "@danielsimonjr/mathts-functions";
180
+ import {
181
+ andersonDarlingTest,
182
+ dagostinoTest,
183
+ friedmanTest,
184
+ anova2,
185
+ multipleComparison
186
+ } from "@danielsimonjr/mathts-functions";
187
+ import {
188
+ paretoDist,
189
+ rayleighDist,
190
+ triangularDist,
191
+ discreteUniformDist,
192
+ gumbelDist,
193
+ invGaussDist,
194
+ multivariateNormal
195
+ } from "@danielsimonjr/mathts-functions";
196
+ import {
197
+ meanCI,
198
+ proportionCI,
199
+ bootstrapCI,
200
+ permutationTest,
201
+ mahalanobis,
202
+ hotellingT2
203
+ } from "@danielsimonjr/mathts-functions";
150
204
  export {
151
205
  DIST_WORKER_THRESHOLD,
206
+ acf,
207
+ andersonDarlingTest,
152
208
  anova,
209
+ anova2,
153
210
  bartlettTest,
154
211
  bernoulli,
155
212
  bernoulliPMF,
213
+ beta,
156
214
  betaCDF,
157
215
  betaDist,
158
216
  betaPDF,
@@ -160,6 +218,7 @@ export {
160
218
  binomialDist,
161
219
  binomialPMF,
162
220
  binomialTest,
221
+ bootstrapCI,
163
222
  cauchyCDF,
164
223
  cauchyPDF,
165
224
  cauchyQuantile,
@@ -172,9 +231,19 @@ export {
172
231
  corr,
173
232
  corrcoef,
174
233
  cov,
234
+ cummax,
235
+ cummin,
236
+ cumprod,
175
237
  cumsum,
238
+ cumtrapz,
239
+ dagostinoTest,
240
+ describe,
241
+ detrend,
242
+ digamma,
243
+ discreteUniformDist,
176
244
  doubleFactorial,
177
245
  entropy,
246
+ ewma,
178
247
  exponentialCDF,
179
248
  exponentialDist,
180
249
  exponentialPDF,
@@ -185,6 +254,7 @@ export {
185
254
  factorial,
186
255
  fallingFactorial,
187
256
  fisherExact,
257
+ friedmanTest,
188
258
  gamma,
189
259
  gammaCDF,
190
260
  gammaDist,
@@ -192,13 +262,19 @@ export {
192
262
  gammaQuantile,
193
263
  geometricPMF,
194
264
  gmean,
265
+ gumbelDist,
266
+ histogram,
195
267
  hmean,
268
+ hotellingT2,
196
269
  hypergeometricDist,
270
+ invGaussDist,
197
271
  iqr,
198
272
  jarqueBera,
199
273
  jsDivergence,
200
274
  kendallTau,
275
+ kendalltau,
201
276
  kldivergence,
277
+ kmeans,
202
278
  kolmogorovSmirnov2Test,
203
279
  kolmogorovSmirnovTest,
204
280
  kruskalWallis,
@@ -208,22 +284,30 @@ export {
208
284
  laplaceQuantile,
209
285
  leveneTest,
210
286
  lgamma,
287
+ linearRegression,
288
+ linregress,
211
289
  logNormalDist,
212
290
  logisticCDF,
213
291
  logisticPDF,
214
292
  logisticQuantile,
293
+ logsumexp,
215
294
  mad,
295
+ mahalanobis,
216
296
  mannWhitneyTest,
217
297
  max,
218
298
  maxSelect,
219
299
  mean,
300
+ meanCI,
220
301
  median,
221
302
  medianSelect,
222
303
  min,
223
304
  minSelect,
224
305
  mode,
225
306
  moment,
307
+ movingAverage,
226
308
  multinomial,
309
+ multipleComparison,
310
+ multivariateNormal,
227
311
  negativeBinomialDist,
228
312
  noncentralChi2PDF,
229
313
  normalCDF,
@@ -248,24 +332,34 @@ export {
248
332
  parallelStatStd,
249
333
  parallelStatSum,
250
334
  parallelStatVariance,
335
+ paretoDist,
336
+ pearsonr,
337
+ permutationTest,
251
338
  permutations,
252
339
  pickRandom,
253
340
  poissonDist,
254
341
  poissonPMF,
342
+ polyFit,
255
343
  principalComponentAnalysis,
256
344
  prod,
345
+ proportionCI,
257
346
  proportionZTest,
347
+ ptp,
258
348
  quantileSeq,
259
349
  quickSelect,
260
350
  random,
261
351
  randomInt,
262
352
  rankdata,
353
+ rayleighDist,
263
354
  risingFactorial,
264
355
  seedProbabilityRng,
265
356
  sem,
266
357
  shapiroWilkTest,
267
358
  skewness,
359
+ softmax,
268
360
  spearman,
361
+ spearmanr,
362
+ spectralClustering,
269
363
  std,
270
364
  studentTCDF,
271
365
  studentTPDF,
@@ -277,12 +371,16 @@ export {
277
371
  subfactorial,
278
372
  sum,
279
373
  tDist,
374
+ trapzF64,
375
+ triangularDist,
376
+ trimmedMean,
280
377
  tukeyHSD,
281
378
  typedDistributions,
282
379
  typedProbability,
283
380
  typedStatistics,
284
381
  uniformDist,
285
382
  variance,
383
+ variation,
286
384
  weibullDist,
287
385
  wilcoxon,
288
386
  zscore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielsimonjr/mathts-statistics",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "description": "Statistics & probability for MathTS — descriptive stats, distributions, hypothesis tests, and combinatorics, every function externally oracle-pinned (SciPy/NumPy/closed-form)",
5
5
  "author": "Daniel Simon Jr.",
6
6
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "build:prod": "tsup src/index.ts --format esm --dts --clean --minify --treeshake"
32
32
  },
33
33
  "dependencies": {
34
- "@danielsimonjr/mathts-functions": "^0.15.0",
34
+ "@danielsimonjr/mathts-functions": "^0.17.0",
35
35
  "typed-function": "^4.0.0"
36
36
  },
37
37
  "devDependencies": {