Statwise.Distributions.StudentT (Statwise v0.1.0)

Copy Markdown View Source

Student's t distribution helpers.

Summary

Functions

Returns the Student's t cumulative distribution function.

Returns the Student's t quantile for probability p.

Returns the Student's t survival function.

Returns a two-sided p-value from a t statistic and degrees of freedom.

Functions

cdf(t, df)

@spec cdf(number(), pos_integer() | float()) :: float()

Returns the Student's t cumulative distribution function.

ppf(p, df)

@spec ppf(float(), pos_integer() | float()) :: float()

Returns the Student's t quantile for probability p.

sf(t, df)

@spec sf(number(), pos_integer() | float()) :: float()

Returns the Student's t survival function.

two_sided_p(t, df)

@spec two_sided_p(number(), pos_integer() | float()) :: float()

Returns a two-sided p-value from a t statistic and degrees of freedom.