Thread Subject: calculate P value from r

Subject: calculate P value from r

From: Diego Lass

Date: 13 Jun, 2009 05:53:01

Message: 1 of 1

Hi
I want to calculate P value from r without using function [r, P]=corrcoef() (because computation complexity issues):

for example:
v1 = [1 2 3 4];
v2 = [3 4 5 6];

r = v1 * ( v2' ) / sqrt( ( v1 * v1' ) * ( v2 * v2' ) );

now I want to get P from this r, how can I do it?

diego

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
stat Diego Lass 13 Jun, 2009 01:54:02
rssFeed for this Thread

Contact us at files@mathworks.com