Exercise: Histogram of FEV1 data
The file fev.sav contains the 57 FEV1 measurements used in the lecture.
Download the file and read it into SPSS.
(If you single click the file, you should get options either to save the file to disk
or to start SPSS.)
Questions
1. Using SPSS, produce a histogram of FEV1.
Compare it to the one used in the lecture.
Check suggested answer 1.
2. Edit the graph to make the text bigger on the horizontal axis.
- Double left click the graph to start the Chart Editor.
- Double click on one of the numbers along the horizontal axis.
This will bring up a Properties box.
- Click Text Style
- Change Preferred Size to 16.
- Apply
- Close
Check suggested answer 2.
3. Edit the graph to make all the axis labels bigger.
Check suggested answer 3.
4. Edit the graph to change the intervals for the histogram.
- Double left click the graph to start the Chart Editor.
- Double click on one of the bars of the histogram.
This will bring up a Properties box.
- Click Binning
- Click radio button for Custom
- Change Custom value for anchor to 2.5.
(This is the start of the first interval)
- Change Interval Width to 0.5
- Apply
- Close
Check suggested answer 4.
5. Change the colour of the bars.
- Double left click the graph to start the Chart Editor.
- Double click on one of the bars of the histogram.
This will bring up a Properties box.
- Click Fill & Border
- Change Fill colour to whatever you find pleasing.
- Change Border colour to whatever you find pleasing.
- Double click on the background.
- Change Fill colour to whatever you find pleasing.
Check suggested answer 5.
6. Remove the text on the right, about the mean and sample size.
To do this,
- Double left click the graph to start the Chart Editor.
- Single click on the text to be deleted to select it.
- Now right click on the text to be deleted.
Another Properties window will appear, which includes a Delete option.
- Click the Delete option.
Check suggested answer 6.
7. Find the minimum, maximum, median, and other quartiles.
(Hint: use Frequencies).
Check suggested answer 7.
8. Draw a box and whisker plot of the distribution.
Check suggested answer 8.
To Applied Biostatistics index.
To Martin Bland's M.Sc. index.
To Martin Bland's home page.
This page maintained by Martin Bland.
Last updated: 16 January, 2012.
Back to top.