Statwise.Distributions.Normal (Statwise v0.1.0)

Copy Markdown View Source

Normal distribution helpers.

Summary

Functions

Returns the standard normal cumulative distribution function.

Returns the Gauss error function.

Returns the standard normal quantile for probability p.

Returns the standard normal survival function.

Returns a two-sided p-value from a z statistic.

Functions

cdf(x)

@spec cdf(number()) :: float()

Returns the standard normal cumulative distribution function.

erf(x)

@spec erf(number()) :: float()

Returns the Gauss error function.

ppf(p)

@spec ppf(float()) :: float()

Returns the standard normal quantile for probability p.

sf(x)

@spec sf(number()) :: float()

Returns the standard normal survival function.

two_sided_p_from_z(z)

@spec two_sided_p_from_z(number()) :: float()

Returns a two-sided p-value from a z statistic.