BlandAltman plots, rank parameters, and calibration ridit splines - - PowerPoint PPT Presentation

bland altman plots rank parameters and calibration ridit
SMART_READER_LITE
LIVE PREVIEW

BlandAltman plots, rank parameters, and calibration ridit splines - - PowerPoint PPT Presentation

BlandAltman plots, rank parameters, and calibration ridit splines Roger B. Newson r.newson@imperial.ac.uk http://www.rogernewsonresources.org.uk Department of Primary Care and Public Health, Imperial College London To be presented at the


slide-1
SLIDE 1

Bland–Altman plots, rank parameters, and calibration ridit splines

Roger B. Newson r.newson@imperial.ac.uk http://www.rogernewsonresources.org.uk

Department of Primary Care and Public Health, Imperial College London

To be presented at the 2019 London Stata Conference, 05–06 September, 2019 To be downloadable from the conference website at http://ideas.repec.org/s/boc/usug19.html

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 1 of 21

slide-2
SLIDE 2

Statistical methods for method comparison ◮ Scientists frequently compare two methods for estimating the same quantity in the same things. ◮ For example, medics might compare two methods for estimating disease prevalences in primary–care practices, or viral loads in patients. ◮ Sometimes, the comparison aims to measure components of disagreement between two methods, such as discordance, bias, and scale difference. ◮ And sometimes, the comparison aims to predict (or calibrate) the result of one method from the result of the other method.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 2 of 21

slide-3
SLIDE 3

Statistical methods for method comparison ◮ Scientists frequently compare two methods for estimating the same quantity in the same things. ◮ For example, medics might compare two methods for estimating disease prevalences in primary–care practices, or viral loads in patients. ◮ Sometimes, the comparison aims to measure components of disagreement between two methods, such as discordance, bias, and scale difference. ◮ And sometimes, the comparison aims to predict (or calibrate) the result of one method from the result of the other method.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 2 of 21

slide-4
SLIDE 4

Statistical methods for method comparison ◮ Scientists frequently compare two methods for estimating the same quantity in the same things. ◮ For example, medics might compare two methods for estimating disease prevalences in primary–care practices, or viral loads in patients. ◮ Sometimes, the comparison aims to measure components of disagreement between two methods, such as discordance, bias, and scale difference. ◮ And sometimes, the comparison aims to predict (or calibrate) the result of one method from the result of the other method.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 2 of 21

slide-5
SLIDE 5

Statistical methods for method comparison ◮ Scientists frequently compare two methods for estimating the same quantity in the same things. ◮ For example, medics might compare two methods for estimating disease prevalences in primary–care practices, or viral loads in patients. ◮ Sometimes, the comparison aims to measure components of disagreement between two methods, such as discordance, bias, and scale difference. ◮ And sometimes, the comparison aims to predict (or calibrate) the result of one method from the result of the other method.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 2 of 21

slide-6
SLIDE 6

Statistical methods for method comparison ◮ Scientists frequently compare two methods for estimating the same quantity in the same things. ◮ For example, medics might compare two methods for estimating disease prevalences in primary–care practices, or viral loads in patients. ◮ Sometimes, the comparison aims to measure components of disagreement between two methods, such as discordance, bias, and scale difference. ◮ And sometimes, the comparison aims to predict (or calibrate) the result of one method from the result of the other method.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 2 of 21

slide-7
SLIDE 7

Example dataset: 176 anonymised double–marked exam scripts in medical statistics ◮ Our example dataset comes from a first–year medical statistics course in a public–health department that no longer exists[2]. ◮ 176 medical students sat the course examination, and their scripts were double–marked by 2 examiners. ◮ The first examiner (“the Mentor”) was the more experienced of the two. ◮ The second examiner (“the Mentee”) was marking exam scripts for the first time, and did this in an all–night session, dosed heavily with coffee. ◮ Marks awarded by each examiner had integer values up to a maximum of 50, and were averaged between the 2 examiners to give a final mark awarded to each student.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 3 of 21

slide-8
SLIDE 8

Example dataset: 176 anonymised double–marked exam scripts in medical statistics ◮ Our example dataset comes from a first–year medical statistics course in a public–health department that no longer exists[2]. ◮ 176 medical students sat the course examination, and their scripts were double–marked by 2 examiners. ◮ The first examiner (“the Mentor”) was the more experienced of the two. ◮ The second examiner (“the Mentee”) was marking exam scripts for the first time, and did this in an all–night session, dosed heavily with coffee. ◮ Marks awarded by each examiner had integer values up to a maximum of 50, and were averaged between the 2 examiners to give a final mark awarded to each student.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 3 of 21

slide-9
SLIDE 9

Example dataset: 176 anonymised double–marked exam scripts in medical statistics ◮ Our example dataset comes from a first–year medical statistics course in a public–health department that no longer exists[2]. ◮ 176 medical students sat the course examination, and their scripts were double–marked by 2 examiners. ◮ The first examiner (“the Mentor”) was the more experienced of the two. ◮ The second examiner (“the Mentee”) was marking exam scripts for the first time, and did this in an all–night session, dosed heavily with coffee. ◮ Marks awarded by each examiner had integer values up to a maximum of 50, and were averaged between the 2 examiners to give a final mark awarded to each student.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 3 of 21

slide-10
SLIDE 10

Example dataset: 176 anonymised double–marked exam scripts in medical statistics ◮ Our example dataset comes from a first–year medical statistics course in a public–health department that no longer exists[2]. ◮ 176 medical students sat the course examination, and their scripts were double–marked by 2 examiners. ◮ The first examiner (“the Mentor”) was the more experienced of the two. ◮ The second examiner (“the Mentee”) was marking exam scripts for the first time, and did this in an all–night session, dosed heavily with coffee. ◮ Marks awarded by each examiner had integer values up to a maximum of 50, and were averaged between the 2 examiners to give a final mark awarded to each student.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 3 of 21

slide-11
SLIDE 11

Example dataset: 176 anonymised double–marked exam scripts in medical statistics ◮ Our example dataset comes from a first–year medical statistics course in a public–health department that no longer exists[2]. ◮ 176 medical students sat the course examination, and their scripts were double–marked by 2 examiners. ◮ The first examiner (“the Mentor”) was the more experienced of the two. ◮ The second examiner (“the Mentee”) was marking exam scripts for the first time, and did this in an all–night session, dosed heavily with coffee. ◮ Marks awarded by each examiner had integer values up to a maximum of 50, and were averaged between the 2 examiners to give a final mark awarded to each student.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 3 of 21

slide-12
SLIDE 12

Example dataset: 176 anonymised double–marked exam scripts in medical statistics ◮ Our example dataset comes from a first–year medical statistics course in a public–health department that no longer exists[2]. ◮ 176 medical students sat the course examination, and their scripts were double–marked by 2 examiners. ◮ The first examiner (“the Mentor”) was the more experienced of the two. ◮ The second examiner (“the Mentee”) was marking exam scripts for the first time, and did this in an all–night session, dosed heavily with coffee. ◮ Marks awarded by each examiner had integer values up to a maximum of 50, and were averaged between the 2 examiners to give a final mark awarded to each student.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 3 of 21

slide-13
SLIDE 13

The dataset of students with pairwise marks And here we use and describe the dataset, with 1 observation per exam script. The dataset is keyed by the variable candno (anonymised candidate number). The other variables are the mentor and mentee total marks, the mentor–mentee difference, and the mean

  • f the mentor and mentee marks (awarded to the candidate).

. use candidate1, clear; . desc, fu; Contains data from candidate1.dta

  • bs:

176 vars: 5 17 Jun 2019 18:01 size: 1,584

  • storage

display value variable name type format label variable label

  • candno

int %9.0g Candidate number atotmark byte %9.0g Mentor total mark btotmark byte %9.0g Mentee total mark dtotmark byte %9.0g Mentor-mentee difference in total mark mtotmark float %9.0g Mean total mark (awarded)

  • Sorted by: candno

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 4 of 21

slide-14
SLIDE 14

Scatter plot of mentor mark against mentee mark ◮ And here is a scatter plot

  • f mentor mark against

mentee mark, with a diagonal equality line. ◮ It appears that the mentor and mentee are usually concordant, and that the mentor usually awards the higher mark. ◮ However. . .

10 15 20 25 30 35 40 45 50 10 15 20 25 30 35 40 45 50

Mentee total mark

Mentor total mark Mentee total mark

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 5 of 21

slide-15
SLIDE 15

Scatter plot of mentor mark against mentee mark ◮ And here is a scatter plot

  • f mentor mark against

mentee mark, with a diagonal equality line. ◮ It appears that the mentor and mentee are usually concordant, and that the mentor usually awards the higher mark. ◮ However. . .

10 15 20 25 30 35 40 45 50 10 15 20 25 30 35 40 45 50

Mentee total mark

Mentor total mark Mentee total mark

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 5 of 21

slide-16
SLIDE 16

Scatter plot of mentor mark against mentee mark ◮ And here is a scatter plot

  • f mentor mark against

mentee mark, with a diagonal equality line. ◮ It appears that the mentor and mentee are usually concordant, and that the mentor usually awards the higher mark. ◮ However. . .

10 15 20 25 30 35 40 45 50 10 15 20 25 30 35 40 45 50

Mentee total mark

Mentor total mark Mentee total mark

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 5 of 21

slide-17
SLIDE 17

Scatter plot of mentor mark against mentee mark ◮ And here is a scatter plot

  • f mentor mark against

mentee mark, with a diagonal equality line. ◮ It appears that the mentor and mentee are usually concordant, and that the mentor usually awards the higher mark. ◮ However. . .

10 15 20 25 30 35 40 45 50 10 15 20 25 30 35 40 45 50

Mentee total mark

Mentor total mark Mentee total mark

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 5 of 21

slide-18
SLIDE 18

The Bland–Altman plot ◮ . . .there is a more informative way of plotting these data, called the Bland–Altman plot[1]. ◮ This is produced by rotating the scatterplot 45 degrees clockwise to produce a plot of the difference between measures (on the vertical axis) against the mean of the 2 measures (on the horizontal axis). ◮ This has the advantage of being space–efficient, as there is no empty dead space in the top left and bottom right corners of the graph. ◮ It is also more informative, as it visualises bias (represented by the difference) and scale differential (represented by mean–difference correlation).

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 6 of 21

slide-19
SLIDE 19

The Bland–Altman plot ◮ . . .there is a more informative way of plotting these data, called the Bland–Altman plot[1]. ◮ This is produced by rotating the scatterplot 45 degrees clockwise to produce a plot of the difference between measures (on the vertical axis) against the mean of the 2 measures (on the horizontal axis). ◮ This has the advantage of being space–efficient, as there is no empty dead space in the top left and bottom right corners of the graph. ◮ It is also more informative, as it visualises bias (represented by the difference) and scale differential (represented by mean–difference correlation).

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 6 of 21

slide-20
SLIDE 20

The Bland–Altman plot ◮ . . .there is a more informative way of plotting these data, called the Bland–Altman plot[1]. ◮ This is produced by rotating the scatterplot 45 degrees clockwise to produce a plot of the difference between measures (on the vertical axis) against the mean of the 2 measures (on the horizontal axis). ◮ This has the advantage of being space–efficient, as there is no empty dead space in the top left and bottom right corners of the graph. ◮ It is also more informative, as it visualises bias (represented by the difference) and scale differential (represented by mean–difference correlation).

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 6 of 21

slide-21
SLIDE 21

The Bland–Altman plot ◮ . . .there is a more informative way of plotting these data, called the Bland–Altman plot[1]. ◮ This is produced by rotating the scatterplot 45 degrees clockwise to produce a plot of the difference between measures (on the vertical axis) against the mean of the 2 measures (on the horizontal axis). ◮ This has the advantage of being space–efficient, as there is no empty dead space in the top left and bottom right corners of the graph. ◮ It is also more informative, as it visualises bias (represented by the difference) and scale differential (represented by mean–difference correlation).

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 6 of 21

slide-22
SLIDE 22

The Bland–Altman plot ◮ . . .there is a more informative way of plotting these data, called the Bland–Altman plot[1]. ◮ This is produced by rotating the scatterplot 45 degrees clockwise to produce a plot of the difference between measures (on the vertical axis) against the mean of the 2 measures (on the horizontal axis). ◮ This has the advantage of being space–efficient, as there is no empty dead space in the top left and bottom right corners of the graph. ◮ It is also more informative, as it visualises bias (represented by the difference) and scale differential (represented by mean–difference correlation).

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 6 of 21

slide-23
SLIDE 23

Bland–Altman plot of mentor–mentee difference against mean mark ◮ In this plot, the diagonal equality line has been rotated 45 degrees to a horizontal Y–axis reference line at zero. ◮ As most points seem to be above the reference line, the mentor seems to be “Mr Nice”. ◮ And there is a hint of an upwards trend in difference with rising mean, suggesting that the mentor’s mark varies on a larger scale than the mentee’s mark.

  • 8
  • 7
  • 6
  • 5
  • 4
  • 3
  • 2
  • 1

1 2 3 4 5 6 7 8

Mentor-mentee difference in total mark

10 15 20 25 30 35 40 45 50

Mean total mark (awarded)

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 7 of 21

slide-24
SLIDE 24

Bland–Altman plot of mentor–mentee difference against mean mark ◮ In this plot, the diagonal equality line has been rotated 45 degrees to a horizontal Y–axis reference line at zero. ◮ As most points seem to be above the reference line, the mentor seems to be “Mr Nice”. ◮ And there is a hint of an upwards trend in difference with rising mean, suggesting that the mentor’s mark varies on a larger scale than the mentee’s mark.

  • 8
  • 7
  • 6
  • 5
  • 4
  • 3
  • 2
  • 1

1 2 3 4 5 6 7 8

Mentor-mentee difference in total mark

10 15 20 25 30 35 40 45 50

Mean total mark (awarded)

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 7 of 21

slide-25
SLIDE 25

Bland–Altman plot of mentor–mentee difference against mean mark ◮ In this plot, the diagonal equality line has been rotated 45 degrees to a horizontal Y–axis reference line at zero. ◮ As most points seem to be above the reference line, the mentor seems to be “Mr Nice”. ◮ And there is a hint of an upwards trend in difference with rising mean, suggesting that the mentor’s mark varies on a larger scale than the mentee’s mark.

  • 8
  • 7
  • 6
  • 5
  • 4
  • 3
  • 2
  • 1

1 2 3 4 5 6 7 8

Mentor-mentee difference in total mark

10 15 20 25 30 35 40 45 50

Mean total mark (awarded)

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 7 of 21

slide-26
SLIDE 26

Bland–Altman plot of mentor–mentee difference against mean mark ◮ In this plot, the diagonal equality line has been rotated 45 degrees to a horizontal Y–axis reference line at zero. ◮ As most points seem to be above the reference line, the mentor seems to be “Mr Nice”. ◮ And there is a hint of an upwards trend in difference with rising mean, suggesting that the mentor’s mark varies on a larger scale than the mentee’s mark.

  • 8
  • 7
  • 6
  • 5
  • 4
  • 3
  • 2
  • 1

1 2 3 4 5 6 7 8

Mentor-mentee difference in total mark

10 15 20 25 30 35 40 45 50

Mean total mark (awarded)

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 7 of 21

slide-27
SLIDE 27

But where are the parameters? ◮ A Bland–Altman plot is a stroke of genius as a visualisation tool, but we would really like to see parameters (with confidence limits and P–values) to quantify the disagreement. ◮ Van Belle (2008)[6] proposed measuring 3 principal components of disagreement, reparameterizing the bivariate Normal model to measure discordance, bias and scale differential. ◮ I would agree with Van Belle about the 3 principal components, but would prefer to measure them using rank parameters, which are less prone to being over–influenced by outliers. ◮ SSC packages for estimating rank parameters include somersd[4][5], scsomersd, and rcentile[3].

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 8 of 21

slide-28
SLIDE 28

But where are the parameters? ◮ A Bland–Altman plot is a stroke of genius as a visualisation tool, but we would really like to see parameters (with confidence limits and P–values) to quantify the disagreement. ◮ Van Belle (2008)[6] proposed measuring 3 principal components of disagreement, reparameterizing the bivariate Normal model to measure discordance, bias and scale differential. ◮ I would agree with Van Belle about the 3 principal components, but would prefer to measure them using rank parameters, which are less prone to being over–influenced by outliers. ◮ SSC packages for estimating rank parameters include somersd[4][5], scsomersd, and rcentile[3].

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 8 of 21

slide-29
SLIDE 29

But where are the parameters? ◮ A Bland–Altman plot is a stroke of genius as a visualisation tool, but we would really like to see parameters (with confidence limits and P–values) to quantify the disagreement. ◮ Van Belle (2008)[6] proposed measuring 3 principal components of disagreement, reparameterizing the bivariate Normal model to measure discordance, bias and scale differential. ◮ I would agree with Van Belle about the 3 principal components, but would prefer to measure them using rank parameters, which are less prone to being over–influenced by outliers. ◮ SSC packages for estimating rank parameters include somersd[4][5], scsomersd, and rcentile[3].

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 8 of 21

slide-30
SLIDE 30

But where are the parameters? ◮ A Bland–Altman plot is a stroke of genius as a visualisation tool, but we would really like to see parameters (with confidence limits and P–values) to quantify the disagreement. ◮ Van Belle (2008)[6] proposed measuring 3 principal components of disagreement, reparameterizing the bivariate Normal model to measure discordance, bias and scale differential. ◮ I would agree with Van Belle about the 3 principal components, but would prefer to measure them using rank parameters, which are less prone to being over–influenced by outliers. ◮ SSC packages for estimating rank parameters include somersd[4][5], scsomersd, and rcentile[3].

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 8 of 21

slide-31
SLIDE 31

But where are the parameters? ◮ A Bland–Altman plot is a stroke of genius as a visualisation tool, but we would really like to see parameters (with confidence limits and P–values) to quantify the disagreement. ◮ Van Belle (2008)[6] proposed measuring 3 principal components of disagreement, reparameterizing the bivariate Normal model to measure discordance, bias and scale differential. ◮ I would agree with Van Belle about the 3 principal components, but would prefer to measure them using rank parameters, which are less prone to being over–influenced by outliers. ◮ SSC packages for estimating rank parameters include somersd[4][5], scsomersd, and rcentile[3].

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 8 of 21

slide-32
SLIDE 32

Measuring discordance: Kendall’s τa between A and B ◮ Given pairs of bivariate data points (Ai, Bi) and (Aj, Bj), Kendall’s τa is defined as τa(A, B) = E[sign(Ai − Aj)sign(Bi − Bj)],

  • r (alternatively) as the difference between the probabilities of

concordance and discordance between the A–values and the B–values. ◮ So, in our example, the A–values are mentor marks, the B–values are mentee marks, and Kendall’s τa is the difference between the probabilities of agreement and disagreement between the mentor and the mentee, when asked which of 2 random exam scripts is better.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 9 of 21

slide-33
SLIDE 33

Measuring discordance: Kendall’s τa between A and B ◮ Given pairs of bivariate data points (Ai, Bi) and (Aj, Bj), Kendall’s τa is defined as τa(A, B) = E[sign(Ai − Aj)sign(Bi − Bj)],

  • r (alternatively) as the difference between the probabilities of

concordance and discordance between the A–values and the B–values. ◮ So, in our example, the A–values are mentor marks, the B–values are mentee marks, and Kendall’s τa is the difference between the probabilities of agreement and disagreement between the mentor and the mentee, when asked which of 2 random exam scripts is better.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 9 of 21

slide-34
SLIDE 34

Measuring discordance: Kendall’s τa between A and B ◮ Given pairs of bivariate data points (Ai, Bi) and (Aj, Bj), Kendall’s τa is defined as τa(A, B) = E[sign(Ai − Aj)sign(Bi − Bj)],

  • r (alternatively) as the difference between the probabilities of

concordance and discordance between the A–values and the B–values. ◮ So, in our example, the A–values are mentor marks, the B–values are mentee marks, and Kendall’s τa is the difference between the probabilities of agreement and disagreement between the mentor and the mentee, when asked which of 2 random exam scripts is better.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 9 of 21

slide-35
SLIDE 35

Kendall’s τa between mentor and mentee marks We use the somersd command, with a taua option to specify Kendall’s τa and a transf(z) option to specify the z–transform:

. somersd atotmark btotmark, taua transf(z) tdist; Kendall’s tau-a with variable: atotmark Transformation: Fisher’s z Valid observations: 176 Degrees of freedom: 175 Symmetric 95% CI for transformed Kendall’s tau-a

  • |

Jackknife atotmark | Coef.

  • Std. Err.

t P>|t| [95% Conf. Interval]

  • ------------+----------------------------------------------------------------

atotmark | 1.883532 .0451456 41.72 0.000 1.794432 1.972632 btotmark | .8824856 .0548829 16.08 0.000 .774168 .9908032

  • Asymmetric 95% CI for untransformed Kendall’s tau-a

Tau_a Minimum Maximum atotmark .95480519 .94622635 .9620421 btotmark .70766234 .64934653 .75770458

The first confidence interval is for the τa of mentor mark with itself (the probability of non–tied mentor marks). The second confidence interval is for the mentor–mentee τa, indicating that the mentor and mentee are 65 to 76 percent more likely to agree than to disagree, given 2 random exam scripts and asked which is best.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 10 of 21

slide-36
SLIDE 36

Measuring bias: The mean sign of A − B ◮ Given bivariate data points (Ai, Bi), the mean sign E[sign(Ai − Bi)] is the difference between the probabilities Pr(Ai > Bi) and Pr(Ai < Bi). ◮ So, in our example, the A–values are mentor marks, the B–values are mentee marks, and the mean sign is the difference between the probability that the mentor is more generous than the mentee and the probability that the mentee is more generous than the mentor, given one random exam script to mark.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 11 of 21

slide-37
SLIDE 37

Measuring bias: The mean sign of A − B ◮ Given bivariate data points (Ai, Bi), the mean sign E[sign(Ai − Bi)] is the difference between the probabilities Pr(Ai > Bi) and Pr(Ai < Bi). ◮ So, in our example, the A–values are mentor marks, the B–values are mentee marks, and the mean sign is the difference between the probability that the mentor is more generous than the mentee and the probability that the mentee is more generous than the mentor, given one random exam script to mark.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 11 of 21

slide-38
SLIDE 38

Measuring bias: The mean sign of A − B ◮ Given bivariate data points (Ai, Bi), the mean sign E[sign(Ai − Bi)] is the difference between the probabilities Pr(Ai > Bi) and Pr(Ai < Bi). ◮ So, in our example, the A–values are mentor marks, the B–values are mentee marks, and the mean sign is the difference between the probability that the mentor is more generous than the mentee and the probability that the mentee is more generous than the mentor, given one random exam script to mark.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 11 of 21

slide-39
SLIDE 39

The mean sign of the mentor–mentee difference We use the scsomersd command, with a transf(z) option again:

. scsomersd dtotmark 0, transf(z) tdist; Von Mises Somers’ D with variable: _scen0 Transformation: Fisher’s z Valid observations: 352 Number of clusters: 176 Degrees of freedom: 175 Symmetric 95% CI for transformed Somers’ D (Std. Err. adjusted for 176 clusters in _obs)

  • |

Jackknife _scen0 | Coef.

  • Std. Err.

t P>|t| [95% Conf. Interval]

  • ------------+----------------------------------------------------------------

_yvar | .5958514 .0850423 7.01 0.000 .4280109 .7636918

  • Asymmetric 95% CI for untransformed Somers’ D

Somers_D Minimum Maximum _yvar .53409091 .40365763 .64324638

The bottom confidence interval is for the untransformed mean sign of the difference between mentor and mentee marks. The mentor is 40 to 64 percent more likely than the mentee to be “Mr Nice”, when given

  • ne random script from the total population.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 12 of 21

slide-40
SLIDE 40

Measuring scale differential: The Kendall τa between A + B and A − B ◮ Given bivariate data points (Ai, Bi) and (Aj, Bj), the Kendall’s τa between the sum and the difference (or, equivalently, between the mean and the difference) is τa(A + B, A − B). ◮ This can be shown (Newson, 2018)[2] to be equal to another difference between probabilities, namely Pr(|Ai − Aj| > |Bi − Bj|) and Pr(|Ai − Aj| < |Bi − Bj|). ◮ So, in our example, τa(A + B, A − B) is the difference between the probability that the mentor is more discriminating and the probability that the mentee is more discriminating, when both are asked to mark 2 random scripts and give the difference between the best and the worst.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 13 of 21

slide-41
SLIDE 41

Measuring scale differential: The Kendall τa between A + B and A − B ◮ Given bivariate data points (Ai, Bi) and (Aj, Bj), the Kendall’s τa between the sum and the difference (or, equivalently, between the mean and the difference) is τa(A + B, A − B). ◮ This can be shown (Newson, 2018)[2] to be equal to another difference between probabilities, namely Pr(|Ai − Aj| > |Bi − Bj|) and Pr(|Ai − Aj| < |Bi − Bj|). ◮ So, in our example, τa(A + B, A − B) is the difference between the probability that the mentor is more discriminating and the probability that the mentee is more discriminating, when both are asked to mark 2 random scripts and give the difference between the best and the worst.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 13 of 21

slide-42
SLIDE 42

Measuring scale differential: The Kendall τa between A + B and A − B ◮ Given bivariate data points (Ai, Bi) and (Aj, Bj), the Kendall’s τa between the sum and the difference (or, equivalently, between the mean and the difference) is τa(A + B, A − B). ◮ This can be shown (Newson, 2018)[2] to be equal to another difference between probabilities, namely Pr(|Ai − Aj| > |Bi − Bj|) and Pr(|Ai − Aj| < |Bi − Bj|). ◮ So, in our example, τa(A + B, A − B) is the difference between the probability that the mentor is more discriminating and the probability that the mentee is more discriminating, when both are asked to mark 2 random scripts and give the difference between the best and the worst.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 13 of 21

slide-43
SLIDE 43

Measuring scale differential: The Kendall τa between A + B and A − B ◮ Given bivariate data points (Ai, Bi) and (Aj, Bj), the Kendall’s τa between the sum and the difference (or, equivalently, between the mean and the difference) is τa(A + B, A − B). ◮ This can be shown (Newson, 2018)[2] to be equal to another difference between probabilities, namely Pr(|Ai − Aj| > |Bi − Bj|) and Pr(|Ai − Aj| < |Bi − Bj|). ◮ So, in our example, τa(A + B, A − B) is the difference between the probability that the mentor is more discriminating and the probability that the mentee is more discriminating, when both are asked to mark 2 random scripts and give the difference between the best and the worst.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 13 of 21

slide-44
SLIDE 44

Kendall’s τa between mean mark and mentor–mentee difference We use the somersd command again:

. somersd mtotmark dtotmark, taua transf(z) tdist; Kendall’s tau-a with variable: mtotmark Transformation: Fisher’s z Valid observations: 176 Degrees of freedom: 175 Symmetric 95% CI for transformed Kendall’s tau-a

  • |

Jackknife mtotmark | Coef.

  • Std. Err.

t P>|t| [95% Conf. Interval]

  • ------------+----------------------------------------------------------------

mtotmark | 2.210341 .0510751 43.28 0.000 2.109539 2.311144 dtotmark | .2728059 .0516663 5.28 0.000 .1708365 .3747752

  • Asymmetric 95% CI for untransformed Kendall’s tau-a

Tau_a Minimum Maximum mtotmark .97623377 .9710022 .98053082 dtotmark .26623377 .16919376 .35816145

This time, the final confidence interval is for the τa between the mean mark and the mentor–mentee difference. The mentor is 17 to 36 percent more likely than the mentee to be the more discriminating of the two.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 14 of 21

slide-45
SLIDE 45

Rank parameters (with confidence limits) for the double–marking data ◮ The mentor and mentee are 71% more likely to be concordant than to be discordant. ◮ And the mentor is 53% more likely to be the more generous of the two. ◮ And the mentor is 27% more likely to be the more discriminating of the two. ◮ This may be because the mentee’s brain was dosed with too much coffee!

Tau(A,B) Mean sign(A-B) Tau(A+B,A-B)

Parameter type

.08333 .1667 .25 .3333 .4167 .5 .5833 .6667 .75 .8333 .9167 1 Parameter value (95% CI) Bland–Altman plots, rank parameters, and calibration ridit splines Frame 15 of 21

slide-46
SLIDE 46

Rank parameters (with confidence limits) for the double–marking data ◮ The mentor and mentee are 71% more likely to be concordant than to be discordant. ◮ And the mentor is 53% more likely to be the more generous of the two. ◮ And the mentor is 27% more likely to be the more discriminating of the two. ◮ This may be because the mentee’s brain was dosed with too much coffee!

Tau(A,B) Mean sign(A-B) Tau(A+B,A-B)

Parameter type

.08333 .1667 .25 .3333 .4167 .5 .5833 .6667 .75 .8333 .9167 1 Parameter value (95% CI) Bland–Altman plots, rank parameters, and calibration ridit splines Frame 15 of 21

slide-47
SLIDE 47

Rank parameters (with confidence limits) for the double–marking data ◮ The mentor and mentee are 71% more likely to be concordant than to be discordant. ◮ And the mentor is 53% more likely to be the more generous of the two. ◮ And the mentor is 27% more likely to be the more discriminating of the two. ◮ This may be because the mentee’s brain was dosed with too much coffee!

Tau(A,B) Mean sign(A-B) Tau(A+B,A-B)

Parameter type

.08333 .1667 .25 .3333 .4167 .5 .5833 .6667 .75 .8333 .9167 1 Parameter value (95% CI) Bland–Altman plots, rank parameters, and calibration ridit splines Frame 15 of 21

slide-48
SLIDE 48

Rank parameters (with confidence limits) for the double–marking data ◮ The mentor and mentee are 71% more likely to be concordant than to be discordant. ◮ And the mentor is 53% more likely to be the more generous of the two. ◮ And the mentor is 27% more likely to be the more discriminating of the two. ◮ This may be because the mentee’s brain was dosed with too much coffee!

Tau(A,B) Mean sign(A-B) Tau(A+B,A-B)

Parameter type

.08333 .1667 .25 .3333 .4167 .5 .5833 .6667 .75 .8333 .9167 1 Parameter value (95% CI) Bland–Altman plots, rank parameters, and calibration ridit splines Frame 15 of 21

slide-49
SLIDE 49

Rank parameters (with confidence limits) for the double–marking data ◮ The mentor and mentee are 71% more likely to be concordant than to be discordant. ◮ And the mentor is 53% more likely to be the more generous of the two. ◮ And the mentor is 27% more likely to be the more discriminating of the two. ◮ This may be because the mentee’s brain was dosed with too much coffee!

Tau(A,B) Mean sign(A-B) Tau(A+B,A-B)

Parameter type

.08333 .1667 .25 .3333 .4167 .5 .5833 .6667 .75 .8333 .9167 1 Parameter value (95% CI) Bland–Altman plots, rank parameters, and calibration ridit splines Frame 15 of 21

slide-50
SLIDE 50

Percentile differences ◮ Re–focussing on bias, we might like to know the size distribution for the mentor–mentee differences, as well as their mean direction. ◮ The SSC package rcentile[3] is a “robust” version of centile, and saves its confidence intervals in a matrix.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 16 of 21

slide-51
SLIDE 51

Percentile differences ◮ Re–focussing on bias, we might like to know the size distribution for the mentor–mentee differences, as well as their mean direction. ◮ The SSC package rcentile[3] is a “robust” version of centile, and saves its confidence intervals in a matrix.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 16 of 21

slide-52
SLIDE 52

Percentile differences ◮ Re–focussing on bias, we might like to know the size distribution for the mentor–mentee differences, as well as their mean direction. ◮ The SSC package rcentile[3] is a “robust” version of centile, and saves its confidence intervals in a matrix.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 16 of 21

slide-53
SLIDE 53

Percentiles of the difference between mentor and mentee marks ◮ The median difference is 2 marks (out of 50). ◮ The inter–quartile range is from 0 to 4 marks. ◮ And the full range is only from -8 to 8 marks. ◮ Note that these marks are integer-valued!

12.5 25 37.5 50 62.5 75 87.5 100

Percent

  • 8
  • 7
  • 6
  • 5
  • 4
  • 3
  • 2
  • 1

1 2 3 4 5 6 7 8

Percentile (95% CI) for: Mentor-mentee difference

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 17 of 21

slide-54
SLIDE 54

Percentiles of the difference between mentor and mentee marks ◮ The median difference is 2 marks (out of 50). ◮ The inter–quartile range is from 0 to 4 marks. ◮ And the full range is only from -8 to 8 marks. ◮ Note that these marks are integer-valued!

12.5 25 37.5 50 62.5 75 87.5 100

Percent

  • 8
  • 7
  • 6
  • 5
  • 4
  • 3
  • 2
  • 1

1 2 3 4 5 6 7 8

Percentile (95% CI) for: Mentor-mentee difference

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 17 of 21

slide-55
SLIDE 55

Percentiles of the difference between mentor and mentee marks ◮ The median difference is 2 marks (out of 50). ◮ The inter–quartile range is from 0 to 4 marks. ◮ And the full range is only from -8 to 8 marks. ◮ Note that these marks are integer-valued!

12.5 25 37.5 50 62.5 75 87.5 100

Percent

  • 8
  • 7
  • 6
  • 5
  • 4
  • 3
  • 2
  • 1

1 2 3 4 5 6 7 8

Percentile (95% CI) for: Mentor-mentee difference

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 17 of 21

slide-56
SLIDE 56

Percentiles of the difference between mentor and mentee marks ◮ The median difference is 2 marks (out of 50). ◮ The inter–quartile range is from 0 to 4 marks. ◮ And the full range is only from -8 to 8 marks. ◮ Note that these marks are integer-valued!

12.5 25 37.5 50 62.5 75 87.5 100

Percent

  • 8
  • 7
  • 6
  • 5
  • 4
  • 3
  • 2
  • 1

1 2 3 4 5 6 7 8

Percentile (95% CI) for: Mentor-mentee difference

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 17 of 21

slide-57
SLIDE 57

Percentiles of the difference between mentor and mentee marks ◮ The median difference is 2 marks (out of 50). ◮ The inter–quartile range is from 0 to 4 marks. ◮ And the full range is only from -8 to 8 marks. ◮ Note that these marks are integer-valued!

12.5 25 37.5 50 62.5 75 87.5 100

Percent

  • 8
  • 7
  • 6
  • 5
  • 4
  • 3
  • 2
  • 1

1 2 3 4 5 6 7 8

Percentile (95% CI) for: Mentor-mentee difference

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 17 of 21

slide-58
SLIDE 58

Calibration: Estimating the mentor mark from the mentee mark ◮ We might want to define a calibration model to predict one mark from the other. ◮ For instance, the mentee might want to single–mark exam scripts in the future, and to correct his mark to estimate what his more generous and discriminating “gold–standard” mentor would have given. ◮ He might do this using a linear regression model of mentor mark with respect to mentee mark, with an intercept to correct for bias and a slope to correct for scale differential. ◮ However, it might be better to calibrate non–linearly, correcting for other components of disagreement. ◮ A common non–linear model is a decile plot, with decile of mentee mark on the horizontal axis, and mean mentor mark for that mentee decile on the vertical axis. ◮ However, a possible improvement on both these methods might be a reference spline, which might ideally be a ridit spline.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 18 of 21

slide-59
SLIDE 59

Calibration: Estimating the mentor mark from the mentee mark ◮ We might want to define a calibration model to predict one mark from the other. ◮ For instance, the mentee might want to single–mark exam scripts in the future, and to correct his mark to estimate what his more generous and discriminating “gold–standard” mentor would have given. ◮ He might do this using a linear regression model of mentor mark with respect to mentee mark, with an intercept to correct for bias and a slope to correct for scale differential. ◮ However, it might be better to calibrate non–linearly, correcting for other components of disagreement. ◮ A common non–linear model is a decile plot, with decile of mentee mark on the horizontal axis, and mean mentor mark for that mentee decile on the vertical axis. ◮ However, a possible improvement on both these methods might be a reference spline, which might ideally be a ridit spline.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 18 of 21

slide-60
SLIDE 60

Calibration: Estimating the mentor mark from the mentee mark ◮ We might want to define a calibration model to predict one mark from the other. ◮ For instance, the mentee might want to single–mark exam scripts in the future, and to correct his mark to estimate what his more generous and discriminating “gold–standard” mentor would have given. ◮ He might do this using a linear regression model of mentor mark with respect to mentee mark, with an intercept to correct for bias and a slope to correct for scale differential. ◮ However, it might be better to calibrate non–linearly, correcting for other components of disagreement. ◮ A common non–linear model is a decile plot, with decile of mentee mark on the horizontal axis, and mean mentor mark for that mentee decile on the vertical axis. ◮ However, a possible improvement on both these methods might be a reference spline, which might ideally be a ridit spline.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 18 of 21

slide-61
SLIDE 61

Calibration: Estimating the mentor mark from the mentee mark ◮ We might want to define a calibration model to predict one mark from the other. ◮ For instance, the mentee might want to single–mark exam scripts in the future, and to correct his mark to estimate what his more generous and discriminating “gold–standard” mentor would have given. ◮ He might do this using a linear regression model of mentor mark with respect to mentee mark, with an intercept to correct for bias and a slope to correct for scale differential. ◮ However, it might be better to calibrate non–linearly, correcting for other components of disagreement. ◮ A common non–linear model is a decile plot, with decile of mentee mark on the horizontal axis, and mean mentor mark for that mentee decile on the vertical axis. ◮ However, a possible improvement on both these methods might be a reference spline, which might ideally be a ridit spline.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 18 of 21

slide-62
SLIDE 62

Calibration: Estimating the mentor mark from the mentee mark ◮ We might want to define a calibration model to predict one mark from the other. ◮ For instance, the mentee might want to single–mark exam scripts in the future, and to correct his mark to estimate what his more generous and discriminating “gold–standard” mentor would have given. ◮ He might do this using a linear regression model of mentor mark with respect to mentee mark, with an intercept to correct for bias and a slope to correct for scale differential. ◮ However, it might be better to calibrate non–linearly, correcting for other components of disagreement. ◮ A common non–linear model is a decile plot, with decile of mentee mark on the horizontal axis, and mean mentor mark for that mentee decile on the vertical axis. ◮ However, a possible improvement on both these methods might be a reference spline, which might ideally be a ridit spline.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 18 of 21

slide-63
SLIDE 63

Calibration: Estimating the mentor mark from the mentee mark ◮ We might want to define a calibration model to predict one mark from the other. ◮ For instance, the mentee might want to single–mark exam scripts in the future, and to correct his mark to estimate what his more generous and discriminating “gold–standard” mentor would have given. ◮ He might do this using a linear regression model of mentor mark with respect to mentee mark, with an intercept to correct for bias and a slope to correct for scale differential. ◮ However, it might be better to calibrate non–linearly, correcting for other components of disagreement. ◮ A common non–linear model is a decile plot, with decile of mentee mark on the horizontal axis, and mean mentor mark for that mentee decile on the vertical axis. ◮ However, a possible improvement on both these methods might be a reference spline, which might ideally be a ridit spline.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 18 of 21

slide-64
SLIDE 64

Calibration: Estimating the mentor mark from the mentee mark ◮ We might want to define a calibration model to predict one mark from the other. ◮ For instance, the mentee might want to single–mark exam scripts in the future, and to correct his mark to estimate what his more generous and discriminating “gold–standard” mentor would have given. ◮ He might do this using a linear regression model of mentor mark with respect to mentee mark, with an intercept to correct for bias and a slope to correct for scale differential. ◮ However, it might be better to calibrate non–linearly, correcting for other components of disagreement. ◮ A common non–linear model is a decile plot, with decile of mentee mark on the horizontal axis, and mean mentor mark for that mentee decile on the vertical axis. ◮ However, a possible improvement on both these methods might be a reference spline, which might ideally be a ridit spline.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 18 of 21

slide-65
SLIDE 65

What are reference splines and ridit splines? ◮ A reference spline[3] is a spline whose parameters are values of the spline at reference points on the X–axis. ◮ And, given a random variable X, the percentage ridit function

  • f X is defined by the formula

RX(x) = 100 ×

  • Pr(X < x) +

1 2 Pr(X = x)

  • ,

meaning that ridits are sample–size–invariant ranks (on a scale from 0 to 100), and percentiles are generalized–inverse ridits. ◮ So, a ridit spline in X is a spline in RX(X). ◮ In our example do–file, we model (and plot) the mentor marks as a cubic calibration ridit spline in the mentee marks. ◮ This is better than a linear model, as it is non–linear. ◮ And it is better than a decile plot, as it is continuous.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 19 of 21

slide-66
SLIDE 66

What are reference splines and ridit splines? ◮ A reference spline[3] is a spline whose parameters are values of the spline at reference points on the X–axis. ◮ And, given a random variable X, the percentage ridit function

  • f X is defined by the formula

RX(x) = 100 ×

  • Pr(X < x) +

1 2 Pr(X = x)

  • ,

meaning that ridits are sample–size–invariant ranks (on a scale from 0 to 100), and percentiles are generalized–inverse ridits. ◮ So, a ridit spline in X is a spline in RX(X). ◮ In our example do–file, we model (and plot) the mentor marks as a cubic calibration ridit spline in the mentee marks. ◮ This is better than a linear model, as it is non–linear. ◮ And it is better than a decile plot, as it is continuous.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 19 of 21

slide-67
SLIDE 67

What are reference splines and ridit splines? ◮ A reference spline[3] is a spline whose parameters are values of the spline at reference points on the X–axis. ◮ And, given a random variable X, the percentage ridit function

  • f X is defined by the formula

RX(x) = 100 ×

  • Pr(X < x) +

1 2 Pr(X = x)

  • ,

meaning that ridits are sample–size–invariant ranks (on a scale from 0 to 100), and percentiles are generalized–inverse ridits. ◮ So, a ridit spline in X is a spline in RX(X). ◮ In our example do–file, we model (and plot) the mentor marks as a cubic calibration ridit spline in the mentee marks. ◮ This is better than a linear model, as it is non–linear. ◮ And it is better than a decile plot, as it is continuous.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 19 of 21

slide-68
SLIDE 68

What are reference splines and ridit splines? ◮ A reference spline[3] is a spline whose parameters are values of the spline at reference points on the X–axis. ◮ And, given a random variable X, the percentage ridit function

  • f X is defined by the formula

RX(x) = 100 ×

  • Pr(X < x) +

1 2 Pr(X = x)

  • ,

meaning that ridits are sample–size–invariant ranks (on a scale from 0 to 100), and percentiles are generalized–inverse ridits. ◮ So, a ridit spline in X is a spline in RX(X). ◮ In our example do–file, we model (and plot) the mentor marks as a cubic calibration ridit spline in the mentee marks. ◮ This is better than a linear model, as it is non–linear. ◮ And it is better than a decile plot, as it is continuous.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 19 of 21

slide-69
SLIDE 69

What are reference splines and ridit splines? ◮ A reference spline[3] is a spline whose parameters are values of the spline at reference points on the X–axis. ◮ And, given a random variable X, the percentage ridit function

  • f X is defined by the formula

RX(x) = 100 ×

  • Pr(X < x) +

1 2 Pr(X = x)

  • ,

meaning that ridits are sample–size–invariant ranks (on a scale from 0 to 100), and percentiles are generalized–inverse ridits. ◮ So, a ridit spline in X is a spline in RX(X). ◮ In our example do–file, we model (and plot) the mentor marks as a cubic calibration ridit spline in the mentee marks. ◮ This is better than a linear model, as it is non–linear. ◮ And it is better than a decile plot, as it is continuous.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 19 of 21

slide-70
SLIDE 70

What are reference splines and ridit splines? ◮ A reference spline[3] is a spline whose parameters are values of the spline at reference points on the X–axis. ◮ And, given a random variable X, the percentage ridit function

  • f X is defined by the formula

RX(x) = 100 ×

  • Pr(X < x) +

1 2 Pr(X = x)

  • ,

meaning that ridits are sample–size–invariant ranks (on a scale from 0 to 100), and percentiles are generalized–inverse ridits. ◮ So, a ridit spline in X is a spline in RX(X). ◮ In our example do–file, we model (and plot) the mentor marks as a cubic calibration ridit spline in the mentee marks. ◮ This is better than a linear model, as it is non–linear. ◮ And it is better than a decile plot, as it is continuous.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 19 of 21

slide-71
SLIDE 71

What are reference splines and ridit splines? ◮ A reference spline[3] is a spline whose parameters are values of the spline at reference points on the X–axis. ◮ And, given a random variable X, the percentage ridit function

  • f X is defined by the formula

RX(x) = 100 ×

  • Pr(X < x) +

1 2 Pr(X = x)

  • ,

meaning that ridits are sample–size–invariant ranks (on a scale from 0 to 100), and percentiles are generalized–inverse ridits. ◮ So, a ridit spline in X is a spline in RX(X). ◮ In our example do–file, we model (and plot) the mentor marks as a cubic calibration ridit spline in the mentee marks. ◮ This is better than a linear model, as it is non–linear. ◮ And it is better than a decile plot, as it is continuous.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 19 of 21

slide-72
SLIDE 72

Observed mentee marks and predicted mentor marks ◮ The horizontal axis gives the percentage ridits, from 0 to 100. ◮ The dashed line gives the corresponding percentiles

  • f the observed mentee

marks. ◮ And the solid line (with solid confidence limits) gives the corresponding predicted mentor marks. ◮ The mentor still appears to be "Mr Nice", but not to the lowest–ranking students!

5 10 15 20 25 30 35 40 45 50 Observed mentee mark and predicted mentor mark (with 95% CI) 12.5 25 37.5 50 62.5 75 87.5 100 Ridit of mentee mark (percent)

Mentee total mark Predicted mentor total mark

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 20 of 21

slide-73
SLIDE 73

Observed mentee marks and predicted mentor marks ◮ The horizontal axis gives the percentage ridits, from 0 to 100. ◮ The dashed line gives the corresponding percentiles

  • f the observed mentee

marks. ◮ And the solid line (with solid confidence limits) gives the corresponding predicted mentor marks. ◮ The mentor still appears to be "Mr Nice", but not to the lowest–ranking students!

5 10 15 20 25 30 35 40 45 50 Observed mentee mark and predicted mentor mark (with 95% CI) 12.5 25 37.5 50 62.5 75 87.5 100 Ridit of mentee mark (percent)

Mentee total mark Predicted mentor total mark

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 20 of 21

slide-74
SLIDE 74

Observed mentee marks and predicted mentor marks ◮ The horizontal axis gives the percentage ridits, from 0 to 100. ◮ The dashed line gives the corresponding percentiles

  • f the observed mentee

marks. ◮ And the solid line (with solid confidence limits) gives the corresponding predicted mentor marks. ◮ The mentor still appears to be "Mr Nice", but not to the lowest–ranking students!

5 10 15 20 25 30 35 40 45 50 Observed mentee mark and predicted mentor mark (with 95% CI) 12.5 25 37.5 50 62.5 75 87.5 100 Ridit of mentee mark (percent)

Mentee total mark Predicted mentor total mark

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 20 of 21

slide-75
SLIDE 75

Observed mentee marks and predicted mentor marks ◮ The horizontal axis gives the percentage ridits, from 0 to 100. ◮ The dashed line gives the corresponding percentiles

  • f the observed mentee

marks. ◮ And the solid line (with solid confidence limits) gives the corresponding predicted mentor marks. ◮ The mentor still appears to be "Mr Nice", but not to the lowest–ranking students!

5 10 15 20 25 30 35 40 45 50 Observed mentee mark and predicted mentor mark (with 95% CI) 12.5 25 37.5 50 62.5 75 87.5 100 Ridit of mentee mark (percent)

Mentee total mark Predicted mentor total mark

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 20 of 21

slide-76
SLIDE 76

Observed mentee marks and predicted mentor marks ◮ The horizontal axis gives the percentage ridits, from 0 to 100. ◮ The dashed line gives the corresponding percentiles

  • f the observed mentee

marks. ◮ And the solid line (with solid confidence limits) gives the corresponding predicted mentor marks. ◮ The mentor still appears to be "Mr Nice", but not to the lowest–ranking students!

5 10 15 20 25 30 35 40 45 50 Observed mentee mark and predicted mentor mark (with 95% CI) 12.5 25 37.5 50 62.5 75 87.5 100 Ridit of mentee mark (percent)

Mentee total mark Predicted mentor total mark

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 20 of 21

slide-77
SLIDE 77

References

[1] Bland JM, Altman DG. Statistical methods for assessing agreement between two methods

  • f clinical measurement. Lancet 1986; i(8476): 307–310.

[2] Newson RB. Rank parameters for Bland–Altman plots. Downloaded on 11 June 2019 from the author’s website at http://www.rogernewsonresources.org.uk/papers.htm#miscellaneous_documents [3] Newson RB. Easy-to-use packages for estimating rank and spline parameters. Presented at the 17th UK Stata User Meeting, 11–12 September, 2014. Downloadable from the conference website at http://ideas.repec.org/p/boc/usug14/01.html [4] Newson R. Confidence intervals for rank statistics: Percentile slopes, differences, and

  • ratios. The Stata Journal 2006; 6(4): 497–520. Download from

http://www.stata-journal.com/article.html?article=snp15_7 [5] Newson R. Confidence intervals for rank statistics: Somers’ D and extensions. The Stata Journal 2006; 6(3): 309–334. Download from http://www.stata-journal.com/article.html?article=snp15_6 [6] van Belle G. Statistical Rules of Thumb. Second Edition. Hoboken, NJ: John Wiley & Sons, Inc.; 2008. The presentation, and the example dataset and do–files, can be downloaded from the conference website, and the packages used can be downloaded from SSC. And special thanks are due to the late Professor Ken MacRae for mentoring me in marking exam scripts in the 1990s.

Bland–Altman plots, rank parameters, and calibration ridit splines Frame 21 of 21