Results 1 to 1 of 1

Matrix with squared differences

Threaded View

  1. #1
    Registered User
    Join Date
    01-30-2005
    Posts
    6

    Matrix with squared differences

    Dear all,

    I've to create a matrix that gives me the squared differences between two time series. For example, for the below two series the sum of the squared differences between the two series would be:

    ____A___________B_______(A-B)^2)____
    0.990234375 0.991675916 2.07804E-06
    1.021972656 1.027469478 3.02151E-05
    1.022460938 1.045504994 0.000531029
    Sum (A-B)^2 = 0.000563322


    The problem is that I have to create a matrix with 250 time series that gives the the sum of the squared differences for each possible pair. Therefore I'd like to create a VBA code that does this calculation for me.

    I would greatly appreciate any help on this as I'm a VBA newby and don't know how to get started on this.

    Thank you very much.

    Rgds,
    Manuel
    Last edited by Grotifant; 02-01-2005 at 06:08 PM.

Thread Information

Users Browsing this Thread

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

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