![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Finding Decile Values
I have two columns of data. The first represent a running count of
weeks, the second the number of people in that group. Example: 0 100,000 1 40,000 2 38,000 3 76,000 4 45,000 5 92,000 etc. I'd like to find out the weighted value across each decile. For instance, in the above example, there are 391,000 people 0 - 39,100: 0.0 39,101 - 78,200: 0.0 78,201 - 117,300 = ((100,000-78200) * 0 + (117,300-100000)*1)/39100 117,301- 156,400 = ((156400-140000)*2+(140000-117301)*1))/39100 Does this make sense. Doing this by hand is way to time consuming because the breakpoints move around. |
|
|||
|
Re: Finding Decile Values
On Jul 7, 2:50*pm, Marston <marston_go...@mac.com> wrote:
> I have two columns of data. The first represent a running count of > weeks, the second the number of people in that group. > > Example: > > 0 * *100,000 > 1 * * *40,000 > 2 * * *38,000 > 3 * * *76,000 > 4 * * *45,000 > 5 * * *92,000 > > etc. > > I'd like to find out the weighted value across each decile. For > instance, in the above example, there are 391,000 people > > 0 - 39,100: 0.0 > 39,101 - 78,200: 0.0 > 78,201 - 117,300 = ((100,000-78200) * 0 + (117,300-100000)*1)/39100 > 117,301- 156,400 = ((156400-140000)*2+(140000-117301)*1))/39100 > > Does this make sense. Doing this by hand is way to time consuming > because the breakpoints move around. if i understand correctly, the function FREQUENCY can help.... look under Excel help it explains what it needs and its return values. It takes a data array (your by week data) and a bins array (your defined deciles). The function will return the count for each bin, then you can use that count to get your weighted value. If you set up the bin array in column as: 0 39,100 78,200 117,300 156,400 The function will return an array of counts for each of these numbers. Count is the count for the interval... for example (0 to 39,100], beginning exclusive of previous bin and inclusive of current bin. The returns 1 more than the number of bins that would represent anything data > the last bin. Excel Help can clear up anything usage of this function. |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|