<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/253603</link>
    <title>MATLAB Central Newsreader - calculate P value from r</title>
    <description>Feed for thread: calculate P value from r</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sat, 13 Jun 2009 05:53:01 -0400</pubDate>
      <title>calculate P value from r</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/253603#656965</link>
      <author>Diego Lass</author>
      <description>Hi&lt;br&gt;
I want to calculate P value from r without using function [r, P]=corrcoef() (because computation complexity issues):&lt;br&gt;
&lt;br&gt;
for example:&lt;br&gt;
v1 = [1 2 3 4];&lt;br&gt;
v2 = [3 4 5 6];&lt;br&gt;
&lt;br&gt;
r = v1 * ( v2' ) / sqrt( ( v1 * v1' ) * ( v2 * v2' ) );&lt;br&gt;
&lt;br&gt;
now I want to get P from this r, how can I do it?&lt;br&gt;
&lt;br&gt;
diego </description>
    </item>
  </channel>
</rss>

