Wachtwoord vergeten?

Wachtwoord vergeten
Vul hier uw email adres in. U ontvangt dan een nieuw wachtwoord.

XL: How to Create a Bell Curve Chart

Gepost op 12-06-2007 - Microsoft Office - 0 reacties


De informatie in dit artikel is van toepassing op:

  • Microsoft Excel 2000 Standard Edition
  • Microsoft Excel 97 Standard Edition

Samenvatting


A bell curve is a plot of normal distribution of a given data set. This article describes how you can create a chart of a bell curve in Microsoft Excel.

Meer informatie


In the following example you can create a bell curve of data generated by Excel using the Random Number Generation tool in the Analysis ToolPak. After Microsoft Excel generates a set of random numbers, you can create a histogram using those random numbers and the Histogram tool from the Analysis ToolPak. From the histogram, you can create a chart to represent a bell curve.


To create a sample bell curve, follow these steps:
  1. Start Excel.
  2. Enter the following column headings in a new worksheet:
    A1:Original B1:Average C1:Bin D1:Random E1:Histogram G1:Histogram
  3. Enter the following data in the same worksheet:
    A2: 23 B2: A3: 25 B3: STDEV A4: 12 B4: A5: 24 A6: 27 A7: 57 A8: 45 A9: 19
  4. Enter the following formulas in the same worksheet:

    B2: =AVERAGE(A2:A9) B3: B4: =STDEV(A2:A9)

    These formulas will generate the average (mean) and standard deviation of the original data, respectively.
  5. Enter the following formulas to generate the bin range for the histogram:

    C2: =$B$2-3*$B4

    This generates the lower limit of the bin range. This number represents three standard deviations less than the average.

    C3: =C2+$B$4

    This formula adds one standard deviation to the number calculated inthe cell above.
  6. Select Cell C3, grab the fill handle, and then fill the formula down from cell C3 to cell C8.
  7. To generate the random data that will form the basis for the bell curve, follow these steps:
    1. On the Tools menu, click Data Analysis.
    2. In the Analysis Tools box, click Random Number Generation, and then click OK.
    3. In the Number of Variables box, type 1.
    4. In the Number of Random Numbers box, type 2000.

      NOTE: Varying this number will increase or decrease the accuracy of the bell curve.
    5. In the Distribution box, select Normal.
    6. In the Parameters pane, enter the number calculated in cell B2 (29 in the example) in the Mean box.
    7. In the Standard Deviation box enter the number calculated in cell B4 (14.68722).
    8. Leave the Random Seed box blank.
    9. In the Output Options pane, click Output Range.
    10. Type D2 in the Output Range box.


      This will generate 2,000 random numbers that fit in a normal distribution.
    11. Click OK.
  8. To create a histogram for the random data, follow these steps:
    1. On the Tools menu, click Data Analysis.
    2. In the Analysis Tools box, select Histogram, and then click OK.
    3. In the Input Range box, type D2:D2001.
    4. In the Bin Range box, type C2:C8.
    5. In the Output Options pane, click Output Range.
    6. Type E2 in the Output Range box.
    7. Click OK.
  9. To create a histogram for the original data, follow these steps:
    1. On the Tools menu, click Data Analysis.
    2. Click Histogram, and then click OK.
    3. In the Input Range box, type A2:A9.
    4. In the Bin Range box, type C2:C8.
    5. In the Output Options pane, click Output Range.
    6. Type G2 in the Output Range box.
    7. Click OK.
  10. Create labels for the legend in the chart by entering the following:
    E14: =G1&"-"&G2 E15: =E1&"-"&F2 E16: =G1&"-"&H2
  11. Select the range of cells, E2:H10, on the worksheet.
  12. On the Insert menu, click Chart.
  13. Under Chart type, click XY (Scatter).
  14. Under Chart sub-type, in the middle row, click the chart on the right.

    NOTE: Just below these 5 sub-types, the description will say "Scatter with data points connected by smoothed lines without markers."
  15. Click Next.
  16. Click the Series tab.
  17. In the Name box, delete the cell reference, and then select cell E15.
  18. In the X Values box, delete the range reference, and then select the range E3:E10.
  19. In the Y Values box, delete the range reference, and then select the range F3:F10.
  20. Click Add to add another series.
  21. Click the Name box, and then select cell E14.
  22. Click the X Values box, and then select the range E3:E10.
  23. In the Y Values box, delete the value that's there, and then select the range G3:G10.
  24. Click Add to add another series.
  25. Click the Name box, and then select cell E16.
  26. Click the X Values box, and then select the range E3:E10.
  27. Click the Y Values box, delete the value that's there, and then select the range H3:H10.
  28. Click Finish.


    The chart will have two curved series and a flat series along the x-axis.
  29. Double-click the second series; it should be labeled "- Bin" in the legend.
  30. In the Format Data Series dialog box, click the Axis tab.
  31. Click Secondary Axis, and then click OK.
You now have a chart that compares a given data set to a bell curve.

Referenties

For more information about creating charts, click Microsoft Excel Help on the Help menu, type create a chart in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

PrintPrint RSS reactiesRSS reacties BookmarkBookmark

Gekoppelde tags

Excel, Excel 2000, Excel 97, Fix, Office, Works

Reacties
Nog geen reacties geplaatst.

Winkelmandje

Het winkelmandje is leeg

Inloggen
Als u hierboven op de knop 'bestellen' klikt krijgt u een overzicht van de door uw gewenste producten. Indien het overzicht compleet en correct is kunt via de wizard de verdere gegevens invullen en uw bestelling afronden. In het bestelproces kunt u altijd op 'vorige' drukken om terug te gaan in het proces. Bij Perrit staan vertrouwen, privacy en veiligheid op de eerste plaats, wij zullen uw gegevens dan ook met uiterste zorgvuldigheid behandelen en nooit doorgeven aan derden.

Perrit.nl Sherwood Rangers 29 Hengelo

Perrit.nl telefoon: +31 74 750 12 20

Kenniscentrum - XL: How to Create a Bell Curve Chart
Perrit Kenniscentrum - XL: How to Create a Bell Curve Chart