Hi thiago.maf,
To get the Pearson correlation coefficient from the report sheet, you can use X-Function "getresults". The following scripts show you a simple example to use "getresults".
string fname$=system.path.program$ + "Samples\Statistics\correlations.dat";
newbook;
impASC;
corrcoef irng:=1!(col(2),col(3)) pearson:=1 rt:=<new name:="Pearson_Result">;
newsheet name:="Result" label:="Heightcrn|SelfEsteern";
range Heightcrn=Result!col(1);
range SelfEsteern=Result!col(2);
getresults iw:=2! tr:=mytree;
Heightcrn[1]=mytree.peasoncorr.corr1.c1;
SelfEsteern[1]=mytree.peasoncorr.corr1.c2;
For detailed information about "getresults", please refer to the following page:
http://www.originlab.com/www/helponline/Origin/en/Programming/mergedProjects/X-Function/X-Function/Getresults.html