Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
juanes
 
Posts: n/a
Default Can I "CORREL" statistical funtion with three or more Arrays?

I wuold like to returns the correlation coefficient using ten different
arrays but the "CORREL" statistical funcion just let me use 2 at the time.
Some body know how to run a correlation funcion over 10 different colums at
the time ?

I really appreciate your help ,

Thank You very much.

JJ
  #2   Report Post  
John Mansfield
 
Posts: n/a
Default

JJ,,

As far as I know there is no function beyond CORREL that will allow you to
regress more than two arrays. However, it can be done with VBA.

I have a template the currently regresses up to 8 columns of data. It could
be modified to include ten. If you would like it, please go to my site's
"Contact" page and send me an email. I'll send the template to you.

----------------------------
Regards,
John Mansfield
http://www.pdbook.com


"juanes" wrote:

I wuold like to returns the correlation coefficient using ten different
arrays but the "CORREL" statistical funcion just let me use 2 at the time.
Some body know how to run a correlation funcion over 10 different colums at
the time ?

I really appreciate your help ,

Thank You very much.

JJ

  #3   Report Post  
Harlan Grove
 
Posts: n/a
Default

John Mansfield wrote...
As far as I know there is no function beyond CORREL that will allow

you to
regress more than two arrays. However, it can be done with VBA.

....

It's not regression, it's pairwise correlations.

If the OP had 10 series each with 20 observations stored in A1:J20 (so
each series in a separate column), then the correlation matrix could be
generated in, say, A25:J34 by selecting that range with A25 the active
cell, typing the formula

=CORREL(OFFSET($A$1:$J$20,0,SUM(COLUMN()-COLUMN($A$25)),,1),
OFFSET($A$1:$J$20,0,SUM(ROW()-ROW($A$25)),,1))

and pressing [Ctrl]+[Enter]. Granted there'd be 100 separate formulas
in A25:J34 of which 55 are unnecessary (since the main diagonal would
always contain nothing but 1s and the matrix will be symmetric). Still,
this is a pretty easy way to get all of them from typing a single
formula.

  #4   Report Post  
Michael R Middleton
 
Posts: n/a
Default

JJ -

I wuold like to returns the correlation coefficient using ten different
arrays but the "CORREL" statistical funcion just let me use 2 at the time.
Some body know how to run a correlation funcion over 10 different colums
at the time ? <


Use the Correlation tool of the Analysis ToolPak. It will provide
correlations for each pair of the ten variables.

- Mike
www.mikemiddleton.com



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Historical Excel question statistical capabilities [email protected] Excel Discussion (Misc queries) 1 April 22nd 05 04:29 PM
Date Value Funtion in Excel 2003 returns an error, but not in Exce olearyd Excel Worksheet Functions 1 April 13th 05 04:59 PM
Pick certain rows from database to use statistical functions on th Matzon Excel Worksheet Functions 0 March 24th 05 11:03 AM
Statistical functions David Excel Worksheet Functions 9 January 13th 05 01:57 PM
Statistical Excel Function Question within Excel 2000... Drew H Excel Worksheet Functions 3 October 31st 04 06:55 PM


All times are GMT +1. The time now is 06:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"