Home Reference Source Repository

References

Class Summary

Static Public Class Summary
public

The Bernoulli Distribution is a discrete probability distribution with parameter p = probability of success.

public

The Binomial Distribution is a discrete probability distribution with parameters n = number of trials and p = probability of success.

public

The Cauchy Distribution is a continuous probability distribution with parameters a = location and b = scale.

public

The Chi-Squared Distribution is a continuous probability distribution with parameters df = degrees of freedom.

public

The Exponential Distribution is a continuous probability distribution with parameters mu = rate.

public

The Gamma Distribution is a continuous probability distribution with parameters a = shape and b = rate.

public

The Normal Distribution is a continuous probability distribution with parameters mu = mean and sigma = standard deviation.

public

The sample class is the base for all of our sample based calculations.

public

The Student's t-Distribution is a continuous probability distribution with parameters df = degrees of freedom*. See: Student's t-Distribution

Interface Summary

Static Public Interface Summary
public

An abstract Distribution class.

Function Summary

Static Public Function Summary
public

Choose k elements from a set of n elements.

public

A useful function.

public

n! is the product of all positive integers less than or equal to n.

public

The gamma function is a useful general function.

public

The regularized lower incomplete gamma function See

public

The log-gamma function is a useful general function.

public

Averages a list of elements.

public

Finds the central most value for a list of numbers.

public

Finds the most frequent values of a list of numbers.

public

Finds the element of a list of numbers at a certain percentile ordered smallest to largest.

public

quantile(x: Array<number>, quantiles: Array<number>): number

Finds the nth largest element of a list of numbers.

public

Finds the difference between the largest and smallest values.

public

select(x: Array<number>, k: number, begin: number, end: number): number

Efficiently finds the kth largest element in a array.

public

A measure that is used to quantify the amount of variation of a set of data values.

public

Efficiently appoximates ln(n!).

public

Adds a list of elements together.

public

A really useful function.

public

ttest(sample: Sample, other: Sample, x: number): number

Computes Student's T-Test for the provided samples. If only one sample is provided, a one-sample t-test is computed on the sample mean vs x. If two samples are provided, a two-sample t-test is computed on the difference between the sample means and x. See: Student's T-Test

public

A measure that is used to quantify the amount of variation of a set of data values from their mean value.

public

zscore(x: number, mu: number, std: number): number

The signed number of deviations an observed value is above the mean.