I have the following portion of a script which I got from the Pearson correlation script:
with (oTotals1) {
nSP = SumXY - ( (ASumX * BSumX) / frPeriod );
nSSX = ASumXX - ( (ASumX * ASumX) / frPeriod );
nSSY = BSumXX - ( (BSumX * BSumX) / frPeriod );
Azval = zA;
Bzval = zB;
}
nPearsons = nSP / Math.sqrt( nSSX*nSSY);
return( nPearsons, Azval, Bzval );
I've added some additional statistical calculations and would like to plot one chart using "nPearsons" and plot "Azval" and "Bzval" in a separate chart pane. I only use one function to come up with all three numbers, however. I'm not sure exactly how to make two separate chart panes appear. I can't use two functions because of processing time.
rauthur
with (oTotals1) {
nSP = SumXY - ( (ASumX * BSumX) / frPeriod );
nSSX = ASumXX - ( (ASumX * ASumX) / frPeriod );
nSSY = BSumXX - ( (BSumX * BSumX) / frPeriod );
Azval = zA;
Bzval = zB;
}
nPearsons = nSP / Math.sqrt( nSSX*nSSY);
return( nPearsons, Azval, Bzval );
I've added some additional statistical calculations and would like to plot one chart using "nPearsons" and plot "Azval" and "Bzval" in a separate chart pane. I only use one function to come up with all three numbers, however. I'm not sure exactly how to make two separate chart panes appear. I can't use two functions because of processing time.
rauthur
Comment