+ Reply to Thread
Results 1 to 3 of 3

Custom Variance and Covariance Functions

  1. #1
    Registered User
    Join Date
    10-29-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Arrow Custom Variance and Covariance Functions

    Hi

    I was wondering if anyone knew how to write up a custom variance and covariance function in Excel where the mean (µ) in both formulas are replaced by the median.

    Thank you.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Custom Variance and Covariance Functions

    =SUMPRODUCT( (x - MEDIAN(x) )^2) / (COUNT(x) - 1)

    =SUMPRODUCT( (x - MEDIAN(x)) * (y - MEDIAN(y))) / COUNT(x)
    Last edited by shg; 10-30-2009 at 11:17 AM.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-29-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Custom Variance and Covariance Functions

    Thank you very much.

+ Reply to Thread

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