+ Reply to Thread
Results 1 to 2 of 2

Find correlations with correlation coefficient > x in massive dataset based on CORREL loop

  1. #1
    Registered User
    Join Date
    08-17-2018
    Location
    Sweden
    MS-Off Ver
    office 365
    Posts
    1

    Find correlations with correlation coefficient > x in massive dataset based on CORREL loop

    Hello. Im new to excell/vba so i rly have no idea if this is even possible.

    Basicly im trying to do a forecastingmoddel based on patternrecognition. I wanna find high correlations of a timeseries then calculate the mean and stdev of the forecast then testing the results. My first problem is looping the correlation formula and writing the values for the location of the correlation. Any help with this would be highly apriciated.


    I have 2 datasets with >50k rows called DATA 1, DATA 2. For each value in DATA2 i wanna find all correlations above a certain value in DATA 1 like this:

    CORREL A1:10 in DATA 1 with DATA 2 A1-A10, then with DATA2 A2-A11, Then with DATA2 A3-A12 ...... then with DATA2 A50000-A50010
    Print the rown number for all correlations above x in DATA2 A2, A3, A4 etc..

    Then do the whole process over again for DATA1 A2-A11..

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Find correlations with correlation coefficient > x in massive dataset based on CORREL

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.

    We don't need zillions of rows, just sufficient to be truly representative
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Correlation Coefficient Matrix - HELP
    By HamaTime in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-18-2016, 07:31 PM
  2. Which formula should be used to find multiple correlations in dataset?
    By bobdillingerz in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-02-2016, 03:42 PM
  3. Correlation coefficient revenues
    By shimaa01234 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-19-2014, 03:56 PM
  4. correlation coefficient
    By abu_excel in forum Excel General
    Replies: 0
    Last Post: 02-08-2013, 05:06 AM
  5. Correlation Coefficient of zero
    By Ganivada in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-30-2009, 02:14 PM
  6. Correlation Coefficient function CORREL
    By dataperson in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-31-2006, 05:27 PM
  7. [SOLVED] Correlation-Coefficient
    By daniel chen in forum Excel General
    Replies: 3
    Last Post: 01-31-2006, 04:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1