1

I have run beta regression in R and would like to asses to do residual diagnostics. I have used the plot function and obtained plots, however, the potential outliers are not labelled. How can the corresponding labels to the outliers?

breg.full <- betareg(Percentage ~ Total_testscore + Campus + Programme + 
                        Gender + SE_track + Hours_Math_SE, data = starters, # [-c(53, 24, 35), ]
                     link = "logit") # , , link.phi = NULL, type = "ML"
summary(breg.full) 
par(mfrow = c(2,3))
plot(breg.full, which = 1:6)

enter image description here

EDIT:

I want to have something like this (without the actual pink box, but with the ID number.) enter image description here

The author provides a link for this code (http://www.de.ufpe.br/~cribari/betareg_example.zip.) however it is no longer working ...

user1607
  • 491
  • 4
  • 24
  • Please, make a reproducible example. https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example – bbiasi May 27 '19 at 11:36
  • Please make this question *reproducible*. This includes sample code (including listing non-base R packages) and sample *unambiguous* data (e.g., `dput(head(x))`). Refs: https://stackoverflow.com/questions/5963269, https://stackoverflow.com/help/mcve, and https://stackoverflow.com/tags/r/info. – r2evans May 30 '19 at 15:45

0 Answers0