Below you will find descriptions and details for the 5 formulas that are used to compute probabilities (p-values) for Pearson correlation coefficients.

Beta function:

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

Lower incomplete beta function:

Pearson correlation t-value:

Regularized lower incomplete beta function:

the numerator = lower incomplete beta function

the denominator = beta function