Use the excact probabilty density function for the correlation coefficient to calaculate the p-value for a random sample of size 30 and a realized value of 0.36983 for the coorrelation coef. %let ...
This is the final symbolic solution in SAS. This matches Rick's numerical solutions. The equations are from sympy. /*---- for a general solution us the translation ...