HP Forums

Full Version: (38G) Probability of Correlation Coefficient
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
A programme to calculate the probability of the coefficient of correlation having a certain value by chance.

Store x & y data in columns 1 & 2 of statistics aplet & run the programme. The screen will display correlation coefficient R, probability of R arising by chance & relative error of the data to the fitted curve (NOT relative error of R).

SELECT Statistics:
SETINDEP S1;C1:
SETDEPEND S1;C2:
DO2VSTATS S1:
DISP 5;"Rel Error:
"RELERR:
SIZE(C1)-2:
UTPT(Ans,CORR*√Ans/√(1-CORR^2):
DISP 3;" SIG:
"Ans:
DISP 1;"CORR:
"CORR:
FREEZE:
Reference URL's