bodmas blog » statistical recipes http://bodmas.org/blog Keith Peter Burnett's blog about Maths teaching and ILT Sat, 13 Feb 2010 21:13:31 +0000 http://wordpress.org/?v=2.8.4 en hourly 1 Mean and standard deviation by stealth http://bodmas.org/blog/maths/mean-and-standard-deviation-by-stealth/ http://bodmas.org/blog/maths/mean-and-standard-deviation-by-stealth/#comments Sat, 13 Feb 2010 20:29:25 +0000 Keith Burnett http://bodmas.org/blog/?p=1071 Formula for sample standard deviation using the square root of the sum of the squares of the deviations from the mean divided by one less than the sample size

Download a set of instructions written in English about how to calculate the mean and standard deviation of a data set.

This has been set to a group of students as homework (old fashioned term, but that is what it was) and I will evaluate the success of the mission in 10 days or so it being half term next week. The numerical answers are mean 101.9 and standard deviation 6.5.

I decided to turn the calculation into an exercise in following instructions as the particular student group was familiar with lab protocols. I then follow up with some explanation. There is a spreadsheet formula reference card in production, and I will be evangelising on the merits of symbolic notation soon enough. I do NOT teach the alternative algorithm as it is numerically unstable with data sets that have low variation.

OpenOffice note: The maths code used to produce the standard deviation formula was

SD = sqrt{{sum{(x-bar{x})^2}}over{N-1}}

I much prefer the OpenOffice formula editor to the more mouse directed one provided with a well known commercial package…

]]>
http://bodmas.org/blog/maths/mean-and-standard-deviation-by-stealth/feed/ 0
Ten Data Sets http://bodmas.org/blog/maths/ten-data-sets/ http://bodmas.org/blog/maths/ten-data-sets/#comments Sun, 07 Feb 2010 10:54:39 +0000 Keith Burnett http://bodmas.org/blog/?p=1067 R generated histogram showing heights of a simulated normal sample of 100 army recruits with mean height 173 and standard deviation of 7.5 cm

Download a PDF file with 10 data sets that can be used to illustrate a variety of statistical techniques

Useful pages:

A spreadsheet with all the data sets is on its way so I can demonstrate how to analyse the data once we have decided what methods are appropriate. I like having a dialogue and a spreadsheet instead of Yet Another PowerPoint!

]]>
http://bodmas.org/blog/maths/ten-data-sets/feed/ 0
Five number summary http://bodmas.org/blog/maths/five-number-summary/ http://bodmas.org/blog/maths/five-number-summary/#comments Thu, 28 Jan 2010 21:38:43 +0000 Keith Burnett http://bodmas.org/blog/?p=1047 gnumeric is a bosting spreadsheet for statistics graphs

Download a two sided handout on finding the five number summary for a set of data

The five numbers are the maximum, the minimum, the median and the upper and lower quartiles. This set of numbers can tell you about the central tendency of your data, the spread, the extreme values, and provide low order information about the shape of the distribution. The blood pressure data sets came from Dr Bradstreet’s Favorite Datasets in Early and Late phases in Drug Research.

Box and whisker plot next, so I can explain how to interpret the five number summary. This series is part of a few sessions I’m planning for some degree students. The box and whisker illustration here was produced using the Gnumeric spreadsheet – it has a useful selection of statistical graphs and can export graphs as SVG or in a variety of bitmaps. Version 1.9.9 is in the Ubuntu 9.10 repositories.

]]>
http://bodmas.org/blog/maths/five-number-summary/feed/ 0