Below you will find descriptions and details for the 4 formulas that are used to compute probabilities (p-values) for a t-test.

Beta function:

Cumulative distribution function (CDF) for the t-distribution:

Lower incomplete beta function:

Regularized lower incomplete beta function:

the numerator = lower incomplete beta function

the denominator = beta function