The document provides instructions for analyzing bone mineral density data from a study on female marathon runners. It involves calculating summary statistics like the average, standard deviation, maximum and minimum values for the data. Additional analysis includes finding percentiles, quartiles, and constructing graphs to visualize the results.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
10 views5 pages
Stats Prac 2
The document provides instructions for analyzing bone mineral density data from a study on female marathon runners. It involves calculating summary statistics like the average, standard deviation, maximum and minimum values for the data. Additional analysis includes finding percentiles, quartiles, and constructing graphs to visualize the results.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5
BSc (Biomed) Statistics Module Prac 1
1. Register on the medical school LAN
2. Find the BiomedSc 3 subdirectory under Apps/usr/medstu/ 3. Go to the Stats directory 4. Open the Excel file data1.xls In the file you will find data from an study on bone mineral density in pre-menopausal women who regularly run the Comrades marathon. (For those of you who are not experienced in excel, please use the help option. You will learn far more if you find the solutions for yourself, rather than asking a friend.) 5. Copy the block of data and paste it into cell H1. 6. Working on the copied data, underline the last row of data. 7. In cell G22 type in Average 8. In cell I22 enter the formula to calculate the average for the data in cells I2 to I21 9. Set the format of the cell containing the average to allow only 1 decimal place 10. In the next row type in SD and enter the formula to calculate the standard deviation for the data in cells I2 to I21 11. Save your work. 12. In the next row type in max and enter the formula to find the maximum value for the data in cells I2 to I21 13. In the next row type in min and enter the formula to find the minimum value for the data in cells I2 to I21 14. In the next row type in median and enter the formula to find the median for the data in cells I2 to I21 15. In the next row type in n = and enter the formula to find the number of data sets for the data in cells I2 to I21 16. Save your work. 17. In the next row type in SE and enter the formula to find the standard error of the mean for the data in cells I2 to I21 18. In the next row type in 95% of samples and enter the formula to find the range above and below the mean, in which 95% of the observations will occur, for the data in cells I2 to I21 19. Save your work. 20. In the next row type in 95% CI and enter the formula to find the 95% confidence intervals for the data in cells I2 to I21 21. In the next row type in first quartile and enter the formula to find the first quartile for the data in cells I2 to I21 22. In the next row type in second quartile and enter the formula to find the second quartile for the data in cells I2 to I21 23. Save your work. 24. In the next row type in 25th percentile and enter the formula to find the percentile for the data in cells I2 to I21 25. In the next row type in 50th percentile and enter the formula to find the 50th percentile for the data in cells I2 to I21 26. In the next row type in 37 and enter the formula to count all the occurrences of 37 in the data in cells I2 to I21 27. Copy all the formulae that you have generated so that you get the results for weight height and body mass index (BKI) in columns J,K and L. (Note: You should not have to re-enter any of the formulae.) 28. Save your work. 29. In Row 1, column M type in O + R 30. In Row 2, column M enter the formula to calculate the sum of the subjects Age and Weight. 31. Copy this formula for all the subjects Copy the formulae to calculate all the steps from 7 to 25. 32. Copy all the data in worksheet 1, into a new worksheet. 33. Save your work. 34. Rename the new worksheet, solutions 35. In the solutions worksheet, copy the original data and paste it into cell O1 36. Repeat all of the calculations that you have performed, for Indian (I) subjects as a group, and White subjects as a separate group 37. In row 1, column T, type in, Correct. Fact. and in row 1 column U type in 2. 38. Save your work. 39. In row 2 column T, type in the formula that will add cell U1 to each of the BMI values, ie, cell U1 is a constant in the addition process. 40. In row 1, column V, type in BMI2 41. In row 2, column V enter the formula to calculate the BMI, weight divided by the height squared. 42. Copy the formula to get the BMI for all the subjects. 43. Save your work. 44. Reduce the number of decimal points for column V to 2. 45. In cell V22, type Average 46. Calculate the average for BMI2 in cell W22 47. In cell W23 type SE 48. Save your work. 49. In cell X21, calculate the standard error of the mean for BMI2 based on the formula SE = standard deviation divided by the square root of the number of samples (n=20). 50. Copy the original data from Worksheet 1 and paste it into worksheet 3 51. Rename worksheet 3, Sorted 52. Sort the data based on age, so that the ages are shown in ascending order. Ensure that the other data remains correct for each subject 53. Save your work. 54. Draw a bar graph of the height and weight of each subject 55. Draw a line graph of the BMI of each subject 56. Draw a scatterplot of the relationship of height on the x axis and weight on the y axis of each subject 57. Save your work. 58. E-mail your completed worksheets to me at [email protected] giving your name and student number in the body of the text. Practical 2
1. Underline the data provided, from B21 to F21
2. In A22 type in “Percentile”. Leave out the quotation marks. 3. Calculate the percentiles in 2.5% increments from 0 –100%for age in cells C22 to C62. In cells B22 to B62, enter the percentiles. Think carefully about this. It is possible to enter all the percentile labels in column B and use them in your formula in column C, so that you only have to enter the formula once in column C and then copy it to all the other cells. 4. Copy the age column B1:B21 and paste it in G22 5. Sort the ages into ascending order 6. In F30 type in “Median” 7. From the rearranged ages, work out the median without using the median formula command. 8. Enter your answer in F31 9. You need to work out the frequency of the ages in 2 year increments. In K22 enter 30-32, in K24 enter 32-34 and so on to 50-52 10. Work out the frequency of people within the age ranges. 30-32 includes those people younger than 32 y. 32-34 will be the 32 and 33y olds. Hint you will probably require two steps to get to the Freqauency, so in M22, type in “Frequency” and enter the frequencies in cells N22 to N32. 11. Draw a histogram of the frequencies for the various age categories, starting in K34. 12. From the Histogram determine the Mode. 13. Change the colour of the mode bar to yellow. 14. In F43 enter “mean” and calculate the mean in G43 15. In F44 enter median and calculate the median in G44. Is it the same as the your answer inF31. If not, why not? 16. In F45 enter mode and calculate the mode in G45. Why is the mode different to the category that you highlighted in yellow in your histogram? 17. Now we will work out the standard deviation. In H22 enter “x-mean” and in H23 (x- mean)Squared. 18. Calculate x-mean in cells H23-H42 for the ages in cells G23-G42. You should be able to do this by only entering the formula once and then copying it to the remaining cells. 19. Similarly calculate (x-mean)squared in column I. 20. In H43 enter “sum” and in I43 calculate the “sum of the square” 21. In H44 enter “n-1” and calculate n-1 in I44 22. In H45 enter “Sum/n-1” and calculate this in I45 23. Enter SqRoot in H46 and calculate the square root of I45 in I46. 24. In F46 enter “SD” and calculate the standard deviation of the ages in G23-G42 25. If you standard deviation in G46 does not equal the number you in I46, you have made a mistake somewhere. Go back and check all of your steps. 26. The mean plus and minus one standard deviation incorporates 68.25% of the population. From the percentile table that you made, highlight in yellow, the percentiles above and below the mean, that are nearest to one standard deviation. 27. Now highlight it grey the percentiles that denote the range in which 95% of the population falls.