Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
travish19
 
Posts: n/a
Default how do i draw a distribution chart in excel

I have some data that is not a normal distribution. I would like to draw a
distribution chart of this data
  #2   Report Post  
John Mansfield
 
Posts: n/a
Default

To plot a distribution, one option is to use the INT and FREQUENCY functions
in an array formula. If the title "Data" is in cell A1, assume that the data
in column A is the data that you want to count. The "Bins" column consists
of the groupings that you want.

Data Bins Freq
4 1
3 2
2 3
3 4
4 5
5
4
2
3

To get the frequency, select the cell range C1:C5. With the cells still
selected, enter this formula in the formula bar:

=INT(FREQUENCY(A2:A10,B2:B6))

Then, press the Control - Shift - Enter keys at the same time. The
combination of Control - Shift - Enter enter the formula enter the formula as
an "array" formula. An array formula appears with the "{" in the front and a
"}" at the end. The results should look like this:

Data Bins Freq
4 1 0
3 2 2
2 3 3
3 4 3
4 5 1
5
4
2
3

Now just create a column or bar chart using the data in the range C2:C6 as
the source to create your distribution.

----
Regards,
John Mansfield
http://www.pdbook.com



"travish19" wrote:

I have some data that is not a normal distribution. I would like to draw a
distribution chart of this data

  #3   Report Post  
Jon Peltier
 
Posts: n/a
Default

In John's formula, the INT function is extraneous.

If your values are not whole numbers, they might not be placed in the bin you expect
or want. 3.21 is counted in the '4' bin, for example. To count each data value in
the bin of its integer part (i.e., put 3.21 into 3 where you want it), put INT
inside the Frequency function around the data range:

=FREQUENCY(INT(A2:A10),B2:B6)

Hold CTRL+SHIFT while pressing ENTER, as John describes, then construct your chart.

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

John Mansfield wrote:

To plot a distribution, one option is to use the INT and FREQUENCY functions
in an array formula. If the title "Data" is in cell A1, assume that the data
in column A is the data that you want to count. The "Bins" column consists
of the groupings that you want.

Data Bins Freq
4 1
3 2
2 3
3 4
4 5
5
4
2
3

To get the frequency, select the cell range C1:C5. With the cells still
selected, enter this formula in the formula bar:

=INT(FREQUENCY(A2:A10,B2:B6))

Then, press the Control - Shift - Enter keys at the same time. The
combination of Control - Shift - Enter enter the formula enter the formula as
an "array" formula. An array formula appears with the "{" in the front and a
"}" at the end. The results should look like this:

Data Bins Freq
4 1 0
3 2 2
2 3 3
3 4 3
4 5 1
5
4
2
3

Now just create a column or bar chart using the data in the range C2:C6 as
the source to create your distribution.

----
Regards,
John Mansfield
http://www.pdbook.com



"travish19" wrote:


I have some data that is not a normal distribution. I would like to draw a
distribution chart of this data


  #4   Report Post  
Michael R Middleton
 
Posts: n/a
Default

travish19 -

I have some data that is not a normal distribution. I would like to draw
a distribution chart of this data <


Use the Histogram tool of the Analysis ToolPak add-in that ships with Excel.

Or, use the Better Histogram add-in available at www.treeplan.com.

- Mike

www.mikemiddleton.com


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Text box in Excel Chart rrs Charts and Charting in Excel 3 January 14th 05 01:59 AM
exporting a chart to gif format using COM (Excel v11 and .net) Katie Charts and Charting in Excel 2 December 31st 04 07:04 AM
How many data points can you have in an Excel for a Scatter Chart. gregran Charts and Charting in Excel 3 December 10th 04 08:31 PM
Excel 97 chart opened in Excel 2003 - Source Data problem DHunt Charts and Charting in Excel 0 December 6th 04 09:05 PM
Is there a way to create a standard OHLC bar chart in Excel? [email protected] Charts and Charting in Excel 3 December 2nd 04 10:49 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"