Home > Output

Chapter 9: Analysing matched or paired data using R

Figure 9.1 Scatterplot for two variables

Figure 9.2 Output for Pearson’s correlation

Box 9.3 Presenting the results for Pearson’s correlation

Figure 9.1 xx Figure 9.1 xx

Figure 9.1 Code

Click here to show code with comments

Figure 9.3 Scatterplots for several variables

Figure 9.4 Calculating several correlations

Box 9.5 Presenting correlations between several variables

Figure 9.2 xx Figure 9.2 xx

Figure 9.3, Figure 9.4 and Box 9.5 Code

Click here to show code with comments

Figure 9.5 Presenting scatterplots (a) with skewed data and (b) where data are transformed

Figure 9.4 xx Figure 9.4 xx Figure 9.4 xx

Figure 9.5 Code

Click here to show code with comments

Figure 9.6 Output for a rank test

Figure 9.5 xx

Figure 9.6 Code

Click here to show code with comments

Figure 9.7 Scatterplot of two variables with linear regression line

Figure 9.6 xx Figure 9.6 xx

Figure 9.7 Code

Click here to show code with comments

Figure 9.8 Output for simple regression

Figure 9.7 xx

Figure 9.8 Code

Click here to show code with comments

Box 9.11 Presenting the results for several predictor variables

Box 9.11 xx Box 9.11 xx

Box 9.11 Code

Click here to show code with comments

Box 9.14 Presentation of a regression line used for prediction

Figure 9.9 Scatterplot of two variables with linear regression line and 95% confidence intervals

Box 9.14 xx Box 9.14 xx

Box 9.14 and Figure 9.9 Code

Click here to show code with comments