PC Review


Reply
Thread Tools Rate Thread

How do I do a cumulative frequency graph?

 
 
=?Utf-8?B?dGVk?=
Guest
Posts: n/a
 
      3rd May 2006
I have a large amount of data (60k lines) and want to display a cumulative
frequency of the data. Example... chart starts @ 0,0 and end at $1.00 (x) and
100% (y). It will visually show at any given x value (between 0 and 1.00) the
cumulative % of the time that value (and below) comes up. (.50 and below is
40% of the data).

I have played with histograms, but that just shows the frequency of 1 x
value. I need this to be cumulative for that x value and all values lower
than it.

Any ideas?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SEVL?=
Guest
Posts: n/a
 
      3rd May 2006
Ted, I think you can use the COUNTIF function: =COUNTIF(x,"<=x") where x is
the x value you want to calc the frequency of occurence.

"ted" wrote:

> I have a large amount of data (60k lines) and want to display a cumulative
> frequency of the data. Example... chart starts @ 0,0 and end at $1.00 (x) and
> 100% (y). It will visually show at any given x value (between 0 and 1.00) the
> cumulative % of the time that value (and below) comes up. (.50 and below is
> 40% of the data).
>
> I have played with histograms, but that just shows the frequency of 1 x
> value. I need this to be cumulative for that x value and all values lower
> than it.
>
> Any ideas?

 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      4th May 2006
Supposing the data is in column B, with a label in B1 ("Value"), sort the
data, and in column A put a label in A1 ("Rank") and starting in A2 use the
formula

=(ROW()-1)/COUNT($B:$B)

Since you can't plot more than 30K points in a chart series (and that's an
exercise in point redrawing that I wouldn't wish on anyone, except the
client who inflicted it on me), in two more columns compute a simpler data
set. In D1 type "Rank" and in D2101 enter =(ROW()-1)/100. In E1 type
"Value" and in E2:E101 enter this formula:

=VLOOKUP(D2,$A$2:$B$2000,2)

But enter the whole range, not just the $A$2:$B$2000 I used in my example.
Now select the data in D:E and create an XY chart.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

"ted" <(E-Mail Removed)> wrote in message
news:533954E1-4BEB-4F95-BAB9-(E-Mail Removed)...
>I have a large amount of data (60k lines) and want to display a cumulative
> frequency of the data. Example... chart starts @ 0,0 and end at $1.00 (x)
> and
> 100% (y). It will visually show at any given x value (between 0 and 1.00)
> the
> cumulative % of the time that value (and below) comes up. (.50 and below
> is
> 40% of the data).
>
> I have played with histograms, but that just shows the frequency of 1 x
> value. I need this to be cumulative for that x value and all values lower
> than it.
>
> Any ideas?



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cumulative frequency UniStudent Coll Microsoft Excel Misc 6 25th Feb 2008 01:26 PM
Cumulative Frequency =?Utf-8?B?QXN0cm9maW4=?= Microsoft Access 5 27th Nov 2006 10:37 PM
How do I create a more than cumulative frequency polygon ? yahoo Microsoft Excel Misc 0 20th May 2006 03:00 AM
Cumulative Frequency =?Utf-8?B?Q2hyaXMgR3JhbnQ=?= Microsoft Excel Charting 2 3rd Feb 2005 05:49 AM
Cumulative frequency chart question milkmonitor Microsoft Excel Discussion 0 10th Dec 2003 03:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:42 PM.