Results 1 to 3 of 3

Thread: [RESOLVED] Weighted Average

  1. #1

    Thread Starter
    Lively Member oswaler's Avatar
    Join Date
    Jul 2006
    Location
    U.S. of A.
    Posts
    87

    Resolved [RESOLVED] Weighted Average

    OK, its been a long time since I had to do a weighted average and I want to make sure that I understand it conceptually.

    If I have the following numbers:
    1 2 3 4 5

    And I want to assign them the following weights:

    .1 .3 .2 .1 .3

    Since the weights add to 1 I would just multiply each number by its weight and sum the products: 1(.1)+2(.3)...

    I am doing this because when you find the weighted average you sum the products of each number and its weight and then divide by the sum of the weights, but in this case the weights add to 1 so you're just dividing by 1. I believe this is called a convex combination.


    Now if I take the numbers 1 through 5 again, but assign more arbitrary weights like:

    .3 .5 .7 .9 5

    Then the average would be [1(.3)+2(.5)+3(.7)+4(.9)+5(5)]/(.3+.5+.7+.9+5)=4.32
    so in this case taking [1(.3)+2(.5)+3(.7)+4(.9)+5(5)]/5 where the 5 in the divisor just represents the fact that there are 5 numbers in the original list that are being multiplied is mathematical garbage (which I can tell right away because this would give the average of 1 through 5 as being 6.4)


    My understanding then is that every average is a weighted average, except that normally all numbers are treated equally so that their weights are all 1 and then you divide by the sum of the weights which is 1 for each number so the divisor ends up being the count of the numbers being averaged.


    Could somebody tell me if anything I just said is wrong?

    Thanks - Eric
    (d/(du)[∫(fu)du]
    Occupation: A respiring organism
    Hobbies: Respiration

  2. #2
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431

    Re: Weighted Average

    Quote Originally Posted by oswaler View Post
    OK, its been a long time since I had to do a weighted average and I want to make sure that I understand it conceptually.

    If I have the following numbers:
    1 2 3 4 5

    And I want to assign them the following weights:

    .1 .3 .2 .1 .3

    Since the weights add to 1 I would just multiply each number by its weight and sum the products: 1(.1)+2(.3)...
    Yes.

    I am doing this because when you find the weighted average you sum the products of each number and its weight and then divide by the sum of the weights, but in this case the weights add to 1 so you're just dividing by 1. I believe this is called a convex combination.
    Yes.


    Now if I take the numbers 1 through 5 again, but assign more arbitrary weights like:

    .3 .5 .7 .9 5

    Then the average would be [1(.3)+2(.5)+3(.7)+4(.9)+5(5)]/(.3+.5+.7+.9+5)=4.32
    Yes.

    so in this case taking [1(.3)+2(.5)+3(.7)+4(.9)+5(5)]/5 where the 5 in the divisor just represents the fact that there are 5 numbers in the original list that are being multiplied is mathematical garbage (which I can tell right away because this would give the average of 1 through 5 as being 6.4)
    Yes. Dividing by 5 is a leftover from using uniformly weighted averages and is, as you said, garbage.


    My understanding then is that every average is a weighted average, except that normally all numbers are treated equally so that their weights are all 1 and then you divide by the sum of the weights which is 1 for each number so the divisor ends up being the count of the numbers being averaged.
    Yes, this is one of several equivalent ways to think about it.


    Could somebody tell me if anything I just said is wrong?
    Yes.
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

  3. #3

    Thread Starter
    Lively Member oswaler's Avatar
    Join Date
    Jul 2006
    Location
    U.S. of A.
    Posts
    87

    Re: Weighted Average

    Thanks!
    (d/(du)[∫(fu)du]
    Occupation: A respiring organism
    Hobbies: Respiration

Posting Permissions

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



Click Here to Expand Forum to Full Width