Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Correlation Matrix using VBA

Hi

I was wondering if anyone was able to provide some assistance to produce a
correlation matrix code in VBA?

Any help would be greatful

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Correlation Matrix using VBA

Range? sheet? cell?

"Zoheb" wrote:

Hi

I was wondering if anyone was able to provide some assistance to produce a
correlation matrix code in VBA?

Any help would be greatful

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 762
Default Correlation Matrix using VBA

Zoheb -

The Correlation tool of Excel's Analysis ToolPak provides this feature,
i.e., all pairwise correlation coefficients for data sets with two or more
variables. The results are equivalent to using the CORREL worksheet function
on pairs of variables in a multivariate data set.

Do you want to replicate that functionality, or do you want something that
the Correlation tool doesn't provide?

- Mike Middleton
http://www.MikeMiddleton.com


"Zoheb" wrote in message
...
Hi

I was wondering if anyone was able to provide some assistance to produce a
correlation matrix code in VBA?

Any help would be greatful

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Correlation Matrix using VBA

Mike -

Thanks for the response

I have 30 sets of data over a certain time period and want to produce a
correlation matrix of it.

I have used the Analysis ToolPak to calculate what the answers should be and
I want to replicate this in VBA, preferably using loop functions.

Thanks

Zoheb

"Mike Middleton" wrote:

Zoheb -

The Correlation tool of Excel's Analysis ToolPak provides this feature,
i.e., all pairwise correlation coefficients for data sets with two or more
variables. The results are equivalent to using the CORREL worksheet function
on pairs of variables in a multivariate data set.

Do you want to replicate that functionality, or do you want something that
the Correlation tool doesn't provide?

- Mike Middleton
http://www.MikeMiddleton.com


"Zoheb" wrote in message
...
Hi

I was wondering if anyone was able to provide some assistance to produce a
correlation matrix code in VBA?

Any help would be greatful

Thanks




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 762
Default Correlation Matrix using VBA

Zoheb -

I'm working on other projects, and I'm not interested in writing VBA code to
replicate the Analysis ToolPak.

If you have thought about the exact specifications, like the specific input
data and specific output, and if you have decided how general-purpose you
want your code to be (variable number of columns, etc.), then if you post
the code you have so far, it's likely that someone will help you.

- Mike


"Zoheb" wrote in message
...
Mike -

Thanks for the response

I have 30 sets of data over a certain time period and want to produce a
correlation matrix of it.

I have used the Analysis ToolPak to calculate what the answers should be
and
I want to replicate this in VBA, preferably using loop functions.

Thanks

Zoheb

"Mike Middleton" wrote:

Zoheb -

The Correlation tool of Excel's Analysis ToolPak provides this feature,
i.e., all pairwise correlation coefficients for data sets with two or
more
variables. The results are equivalent to using the CORREL worksheet
function
on pairs of variables in a multivariate data set.

Do you want to replicate that functionality, or do you want something
that
the Correlation tool doesn't provide?

- Mike Middleton
http://www.MikeMiddleton.com


"Zoheb" wrote in message
...
Hi

I was wondering if anyone was able to provide some assistance to
produce a
correlation matrix code in VBA?

Any help would be greatful

Thanks






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
Correlation Matrix AsifA New Users to Excel 0 July 22nd 10 11:17 AM
Correlation matrix Chrissy Wissy[_2_] Excel Discussion (Misc queries) 7 July 11th 07 12:26 PM
Correlation Matrix katie Excel Worksheet Functions 5 May 16th 06 07:21 PM
Correlation matrix Peppino Excel Worksheet Functions 1 March 10th 05 01:32 PM
correlation matrix Sam Excel Programming 0 July 28th 03 03:24 PM


All times are GMT +1. The time now is 09:30 PM.

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

About Us

"It's about Microsoft Excel"