Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Frequencies and the normal distribution CSC 152 (Blum)1."— Presentation transcript:

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

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

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

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

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)5

6 Warning: Array formula CSC 152 (Blum)6 Array formulas have results that span several cells instead of just one. They require: 1)Highlighting enough cells for the complete answer 2)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.

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)7

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)8

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

10 Normal distribution CSC 152 (Blum)10

11 Use Excel’s formula for the normal distribution CSC 152 (Blum)11 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 4 th argument is whether or not we want to sum the distribution everything from negative infinity up to and including a value – we said no.

12 Before comparing we need two more steps. The first is to divide the frequencies by the sample size turning them effectively into probabilities CSC 152 (Blum)12 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.

13 The normal distribution has to be multiplied by the Δx – the separation between our values CSC 152 (Blum) 13 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.

14 Highlight columns C, F & G (only where there’s data) and Insert an XY-Scatter chart. CSC 152 (Blum)14

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

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

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

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

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

20 Result – see legend CSC 152 (Blum)20

21 Right click on the second (normal dist.) series and choose Change Series Chart Type. Choose Smooth Lines. CSC 152 (Blum)21

22 Result CSC 152 (Blum)22

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

24 Right click and choose Select Data CSC 152 (Blum)24

25 Highlight Series 1 and click Remove CSC 152 (Blum)25

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

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

28 Result so far CSC 152 (Blum)28

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

30 Add a title (if you haven’t got one already) CSC 152 (Blum)30

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

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

33 Result CSC 152 (Blum)33


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

Similar presentations


Ads by Google