[Paraview] Correlation coefficient
TJ Corona
tj.corona at kitware.com
Sun Apr 30 08:19:03 EDT 2017
Hi Rupert,
The M-values refer to the moments <https://en.wikipedia.org/wiki/Moment_(mathematics)> of the distribution. The first moment (mean <https://en.wikipedia.org/wiki/Mean>) and the second moment (variance <https://en.wikipedia.org/wiki/Variance>) can be used to compute the standard deviation, as Patrick described. Hope this helps!
Sincerely,
T.J.
Thomas J. Corona, Ph.D.
Kitware, Inc.
Senior R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4443
> On Apr 29, 2017, at 3:40 PM, Patrick O'Leary <patrick.oleary at kitware.com> wrote:
>
> standard deviation = sqrt(M2 - M1^2) where M1 is the mean.
>
> I hope this helps.
> Patrick
>
> On Sat, Apr 29, 2017 at 12:18 PM Rupert Gladstone <rupertgladstone1972 at gmail.com <mailto:rupertgladstone1972 at gmail.com>> wrote:
> Hi, I'd like to calculate a correlation coefficient between two variables in a vtu data set. I am not experienced with statistics but the Pearson correlation coefficient looks suitable. So I just need the covariance and standard deviations.
>
> The Paraview Multicorrelative Statistics filter seems to give the covariance, but I can't find a filter that gives the standard deviation. The Descriptive Statistics filter is supposed to give standard deviation according to the documentation, but I am not getting it when I run the filter. I am referring to this documentation:
> http://www.paraview.org/Wiki/Statistical_analysis <http://www.paraview.org/Wiki/Statistical_analysis>
>
> I am currently running both paraview 4.0.1 and 5.0.0. They give slightly different outputs from the statistics filters, but neither gives me the standard deviation (unless it is hidden in M2, M3 or M4? I don't know what these are).
>
> Can anyone help with either my lack of standard deviation or an alternative way to calculate a correlation coefficient?
>
> Thanks,
> Rupert Gladstone
> _______________________________________________
> Powered by www.kitware.com <http://www.kitware.com/>
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html <http://www.kitware.com/opensource/opensource.html>
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView <http://paraview.org/Wiki/ParaView>
>
> Search the list archives at: http://markmail.org/search/?q=ParaView <http://markmail.org/search/?q=ParaView>
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview <http://public.kitware.com/mailman/listinfo/paraview>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170430/6d6725d6/attachment.html>
More information about the ParaView
mailing list