+ Reply to Thread
Results 1 to 3 of 3

Macro to replicate multivariate returns based on covariance samples

  1. #1
    Registered User
    Join Date
    05-24-2014
    Posts
    5

    Macro to replicate multivariate returns based on covariance samples

    Hello there,

    Apologies in advance if the question is a bit esoteric. I am trying to write a routine in VBA that simulates 250 multivariate returns using a set of stock return averages (Columns I : N in the attached file) and covariances (Boxes 1 and 2). I would like for the output of the routine to go in columns W: AB. Any ideas or help would be much appreciated!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-30-2014
    Location
    Kuwait
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Macro to replicate multivariate returns based on covariance samples

    Hi

    Please check the attached file. If you click on the button called "Simulated Returns" all the calculations would be done automatically. You may please change the values in column B to G and click on the said button. You will get the details. Please let me know if your query is answered.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-30-2014
    Location
    Kuwait
    MS-Off Ver
    Excel 2003
    Posts
    4

    Automatic Data updation from one worksheet to another worksheet just like a data base

    Hi Friends

    I am trying to use excel as database file. Please check the attached file in which there are two worksheets. Data Base & Topsheet.
    I would like to add the values entered in Row No.14 in top sheet to data base file in respective month column as selected in topsheet according to the accont code selected in row no.12.This has to happen when I click on ADD Button inserted in Top Sheet.

    The data in data base should be accumulated. Is it possible to write a program in this manner. Please suggest.

    Thanks in advance.
    Attached Files Attached Files

+ 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. Replies: 6
    Last Post: 09-30-2013, 10:14 AM
  2. Function that returns the intercept of a multivariate regression
    By aboumonkey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-22-2013, 08:41 AM
  3. COVARIANCE.S to build a covariance matrix
    By steve.lorimer in forum Excel General
    Replies: 6
    Last Post: 06-05-2011, 09:37 AM
  4. returns covariance MMULT command
    By marco2011 in forum Excel General
    Replies: 0
    Last Post: 04-07-2010, 01:47 AM
  5. Replies: 2
    Last Post: 06-15-2009, 05:10 PM

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