The following code displays the sample obtained above. Representation of such entries requires a distribution function. It is now possible to add the diagonal line to Q-Q graphs. The values in our data are ranked and sorted, and each value is then compared to the expected value that the score should have in a normal distribution. Unfortunately, we do no have access to the sampling distribution. To change the colour of the line will simply be specify one of the arguments to the stat_qq_line() part of the ggplot command. block. \frac{(y-a)^{\alpha-1} (c-y)^{\beta-1}}{(c-a)^{\alpha+\beta-1}},\: a < y