1. ## Maple

How can I calculate the Pearson's r coefficient in Maple?

2. So long as you define the samples as X := [...] and Y := [...] that should work.

Just did it of the top of my head so I'm sure there's a better way but that should work. (May wanna check it against known values though).

Also ignore the standard maple error... -0.9999999997 = -1 basically.

3. This what happened when I attempted the calling procedure.
> Pearson:=proc(A,B):
print(output redirected...); # input placeholder
Error, unterminated procedure

4. [IMG]file:///C:/Users/Dustin/AppData/Local/Temp/moz-screenshot.png[/IMG][IMG]file:///C:/Users/Dustin/AppData/Local/Temp/moz-screenshot-1.png[/IMG][IMG]file:///C:/Users/Dustin/AppData/Local/Temp/moz-screenshot-2.png[/IMG][IMG]file:///C:/Users/Dustin/AppData/Local/Temp/moz-screenshot-3.png[/IMG]

Here is a picture of what happened

5. Never mind I have it under control now.