1 / 35

Frequencies and the normal distribution

This guide explains how to calculate the mean and standard deviation, sample size, minimum and maximum values, and create a range of data for house-fly wing measurements. It also demonstrates how to create a frequency distribution and a normal distribution graph in Microsoft Excel.

wcoutu
Download Presentation

Frequencies and the normal distribution

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Frequencies and the normal distribution CSC 152 (Blum)

  2. Calculate the mean (average) and standard deviation of the House –fly wing data CSC 152 (Blum)

  3. Calculate the sample size (count) of the data CSC 152 (Blum)

  4. Calculate the minimum and maximum of the data CSC 152 (Blum)

  5. Make a range of data starting at the Min plus 0.00001 and going to the Max by 0.1’s CSC 152 (Blum)

  6. Warning: Array formula • Array formulas have results that span several cells instead of just one. • They require: • Highlighting enough cells for the complete answer • Clicking Ctrl-Shift-Enter instead of just Enter. • If you attempt to edit part of an array formula result, problems occur. Use the Esc key to get out of it. CSC 152 (Blum)

  7. Highlight cells D2:D21 (for the answer) and insert the formula =FREQUENCY(A2:A101,C2:C21) and then hit Ctrl-Shift-Enter CSC 152 (Blum)

  8. A frequency is the number of times something occurs – in this case the values up to and including 3.6, then the values between 3.6 (exclusive) and 3.7 (inclusive), etc. CSC 152 (Blum)

  9. Make a quick (unformatted, un-designed) XY Scatter graph CSC 152 (Blum)

  10. Normal distribution CSC 152 (Blum)

  11. Use Excel’s formula for the normal distribution Notice that we have used absolute addressing for the mean B$2 and standard deviation B$4. That means when the formula is copied elsewhere the 2 and 4 are held fixed. The 4th argument is whether or not we want to sum the distribution everything from negative infinity up to and including a value – we said no. CSC 152 (Blum)

  12. Before comparing we need two more steps. The first is to divide the frequencies by the sample size turning them effectively into probabilities Instead of saying the value 4.2 occurred 7 times in a sample size of 100, we say 4.2 occurred 0.07 or 7% of the time. Note the count requires absolute addressing. CSC 152 (Blum)

  13. The normal distribution has to be multiplied by the Δx – the separation between our values We had gone up by 0.2’s instead of by 0.1’s there would be roughly half as many Frequencies with roughly twice the value they have now. CSC 152 (Blum)

  14. Highlight columns C, F & G (only where there’s data) and Insert an XY-Scatter chart. To highlight non-consecutive columns: highlight the first column then hold down the Ctrl key while highlighting the second (and third) column. Then let go of Ctrl. CSC 152 (Blum)

  15. Apply a Chart Layout (e.g. 1) under Design. CSC 152 (Blum)

  16. Change the title and axis labels CSC 152 (Blum)

  17. Format the axis to have a Minimum of 3 CSC 152 (Blum)

  18. Right click on a data point and choose Select Data CSC 152 (Blum)

  19. Select a data set, click Edit and give the series a name. CSC 152 (Blum)

  20. Result – see legend CSC 152 (Blum)

  21. Right click on the second (normal dist.) series and choose Change Format Data Series. Choose the Paint bucket (Fill & Line). Choose Line, Solid Line and pick a color CSC 152 (Blum)

  22. And on Marker choose None CSC 152 (Blum)

  23. Result CSC 152 (Blum)

  24. Histogram: highlight columns C & D and choose Insert Column Chart CSC 152 (Blum)

  25. Right click and choose Select Data CSC 152 (Blum)

  26. Highlight Series 1 and click Remove CSC 152 (Blum)

  27. Highlight Series 2 and click Edit under Horizontal Axis Labels CSC 152 (Blum)

  28. Then highlight the C column and click OK CSC 152 (Blum)

  29. Right click on the x axis, Choose Format, choose Number, change the category to Number and set the Decimal place to 1 CSC 152 (Blum)

  30. Result so far CSC 152 (Blum)

  31. Choose a Layout (e.g. 7) and label axes CSC 152 (Blum)

  32. Add a title (if you haven’t got one already). Design tab, Add Chart Element, … CSC 152 (Blum)

  33. Right click on the columns and choose Format Data Series. Choose the gap width to be 0%. CSC 152 (Blum)

  34. Choose a Solid Line and a Border Color. CSC 152 (Blum)

  35. Result CSC 152 (Blum)

More Related