Suggested answer to exercise: Normal plot for angina and pronethalol, 3

Question 3: Compute the average number of attacks on placebo adnd pronethalol and draw a scatter plot of difference against average. Do the differences and averages of the numbers of attacks appear to be related?

Suggested answer

First we compute the average. Click Transform, Compute. Type a variable name into the Target Variable box. I used 'average'. Now type or click '(' into the Numeric Expression box, put the variable 'placebo' into the Numeric Expression box, type or click '+', put the variable 'proneth' into the Numeric Expression box, and type or click ')/2'. You should now have '(placebo+proneth)/2' in the Numeric Expression box. Click OK.

Click Graphs, Legacy Dialogs, Scatter/Dot, Define. Put the variable 'difference' into the Y Axis box and 'average' into the X Axis box. Click OK.

You should get the following graph, after changing the text size, scale, number format, etc.:

The variability of the differences certainly appears to increase greatly as the average increases.


Back to Exercise: Normal plot for angina and pronethalol.

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: 20 February, 2012.

Back to top.