Home > Output

Chapter 8: Analysing matched or paired data using STATA


Figure 8.1 Output for a paired t test

Figure 8.1 Descritpive statistics for paired t-test

Figure 8.1 Code

Code for figure

Click here to show code as text

Figure 8.2 Histogram of skewed paired data (a) before and (b) after log transformation with normal distribution curve

Figure 8.2 Histogram of skewed paired data (a) before and (b) after log transformation with normal distribution curve

Figure 8.2 Code

Code for figure

Click here to show code as text

Figure 8.3 and Box 8.5 Paired t test with back- transformation

Box 8.5 Presenting the results of a paired t test on log-transformed data

Figure 8.3 and Box 8.5 Code

Code for figure

Click here to show code as text

Figure 8.4 to Box 8.7 Presenting the findings of the Wilcoxon test for matched pairs

Figure 8.4 Presenting the findings of the Wilcoxon test for matched pairs

Figure 8.4 to Box 8.7 Code

Code for figure

Click here to show code as text

Figure 8.5 Output for a matched case-control analysis

Figure 8.5 Output for a matched case-control analysis

Figure 8.5 Code

Code for figure

Click here to show code as text

Box 8.10 Presenting the results of matched case- control analysis

Box 8.10 Presening results of a matched case-control analysis

Box 8.10 Code

Code for figure

Click here to show code as text

Figure 8.6 Output for McNemar’s test with ratio of paired proportions

Figure 8.6 Output for McNemar's test with ratio of paired proportions Figure 8.6 Output for McNemar's test with ratio of paired proportions

Figure 8.6 Code

Code for figure

Click here to show code as text