FAQ/baSPSS102013-03-08 10:17:25localhostconverted to 1.6 markup92011-07-07 11:12:59PeterWatson82011-07-07 08:44:55PeterWatson72011-07-06 11:34:54PeterWatson62011-07-06 11:30:29PeterWatson52011-07-06 11:30:10PeterWatson42011-07-06 11:29:27PeterWatson32011-07-06 11:28:09PeterWatson22011-07-06 11:25:06PeterWatson12011-07-06 11:18:48PeterWatsonUsing SPSS to produce Bland Altman plotsUsing the data on the previous page we illustrate, step-by-step, how to use SPSS syntax and its graphing editor to produce Bland-Altman plots. Note: you will need to adjust the file names and variable names and their graph labels in the below accordingly for using on data on your own PC. We firstly make sure we have the data in a saved SPSS spreadsheet. We only need wright1 and mini1 for our calculations. We now run some syntax that will produce a difference by average scatterplot plus the mean and its 95% confidence limits ready for su to add on shortly. Remember you will need to change the file names, variable names and the graph labels. Running the above in a syntax window should give you a data file containing the original data plus three columns called M (the mean difference), L95 and U95 representing the lower and upper endpoints of tis 95% confidence interval together with a scatterplot of the difference by average in the output file. To finish things off we need to edit the graph manually. This may be done as follows: Firstly make sure that the range of the Y-axis contains the lower (L95) and upper (U95) confidence limits for the average inter-test difference (M). If the Y axis needs adjusting click on the graph and go to Edit>Select Y axis and then enter the range of the y-axis (and any increments) required. We are now ready to add the three lines to the plot for the mean difference(M in the outputted data file) and the limits of its 95% confidence interval (called L95 and U95 in the data file). Go to options>Add a reference line to Y- axis. Put Y equal to M by typing Y=-2.11 in the box. Click Apply and Close. A line at Y=-2.11 should appear on the plot. Repeat the previous step twice more for the limits of the confidence interval putting Y equal to the values -78.10 and, then, 73.86 representing L95 and U95 respectively clicking Apply and Close each time. You should now be finished and have a scatterplot of the inter-test difference (y-axis) by the average test score (x-axis) with three lines for the mean and its 95% confidence limits looking something like this.