HP Forums
(38G) Probability of Correlation Coefficient - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (38G) Probability of Correlation Coefficient (/thread-3424.html)



(38G) Probability of Correlation Coefficient - Gerald H - 03-19-2015 06:12 AM

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: