How can I calculate the Pearson's r coefficient in Maple?
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.
Here is a picture of what happened