+ Reply to Thread
Results 1 to 5 of 5

Thread: How do you find an average for two numerical categories?

  1. #1
    Points: 1,402, Level: 21
    Level completed: 2%, Points required for next Level: 98

    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How do you find an average for two numerical categories?



    How do I find the average number of rooms per housing unit for this data?

    1- 462
    2- 643
    3- 1571
    4- 3535
    5- 4105
    6-3029
    7- 2044
    8-1622
    9- 1968

    First column of numbers is # of rooms, second column is # of housing units with corresponding number of rooms. The answer should look something like 6.3 rooms. How do I calculate this when both columns are numbers?

  2. #2
    RotParaTon
    Points: 46,091, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Discussion EnderPosting AwardFrequent PosterActivity AwardCommunity Award
    Dason's Avatar
    Location
    Ames, IA
    Posts
    9,061
    Thanks
    211
    Thanked 1,605 Times in 1,375 Posts

    Re: How do you find an average for two numerical categories?

    Let X_i be the number of houses with i rooms. Then what you want is \frac{ \sum_{i=1}^9 i*X_i }{ \sum_{i=1}^9 X_i}

  3. #3
    Points: 1,402, Level: 21
    Level completed: 2%, Points required for next Level: 98

    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How do you find an average for two numerical categories?

    Thank you for your reply, can you please briefly explain in lamens terms? Or which function I should use in Excel? I know nothing about stats. I would really appreciate it.

  4. #4
    TS Contributor
    Points: 6,779, Level: 54
    Level completed: 15%, Points required for next Level: 171
    Awards:
    Master Tagger

    Posts
    774
    Thanks
    0
    Thanked 70 Times in 69 Posts

    Re: How do you find an average for two numerical categories?

    Using Excel:
    In column C use the formula C1=A1*B1 <this is i*X_i in Dason's formula>
    Copy down thru cell C9.

    In row 10 use the formula B10=sum(B1:B9) <this is the denominator in Dason's formula>, and C10=sum(C1:C9) <this is the numerator in Dason's formula>

    Then by Dason's formula, you want C10/B10

  5. #5
    RotParaTon
    Points: 46,091, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Discussion EnderPosting AwardFrequent PosterActivity AwardCommunity Award
    Dason's Avatar
    Location
    Ames, IA
    Posts
    9,061
    Thanks
    211
    Thanked 1,605 Times in 1,375 Posts

    Re: How do you find an average for two numerical categories?


    Mean Joe did a great job of explaining it. It's pretty much just a way of writing the mean for repeated values. For example consider the data:
    1 1 1 1 2 2 3 3 3 3 4 4 4 5 5

    Then the mean would be:
    (1+1+1+1+2+2+3+3+3+3+4+4+4+5+5)/15
    =((1+1+1+1)+(2+2)+(3+3+3+3)+(4+4+4)+(5+5))/15
    =(4*1 + 2*2 + 4*3 + 3*4 + 2*5)/(4+2+4+3+2)
    which is just combining the repeated values and writing it in terms of the counts of how many times a value was repeated and the value itself. So intuitively that's what the formula I gave is doing.

+ Reply to Thread

Similar Threads

  1. Find Average
    By coffeegirl in forum Statistics
    Replies: 2
    Last Post: 10-01-2010, 05:08 PM
  2. Replies: 4
    Last Post: 05-18-2010, 04:57 AM
  3. Numerical model validation
    By py_engineer in forum Statistics
    Replies: 0
    Last Post: 01-21-2009, 09:01 PM
  4. numerical attribute
    By pinkey in forum Statistics
    Replies: 0
    Last Post: 02-13-2008, 09:54 PM
  5. Numerical Measures
    By goldie in forum Statistics
    Replies: 1
    Last Post: 02-12-2006, 07:26 PM

Posting Permissions

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








Advertise on Talk Stats