fitted functions will be used to obtain the residual plots from the probit and logistic regression models.
par(mfrow=c(1,3), oma = c(0,0,3,0)). The
omaoption ensures that we can appropriately title the grand output.
plot(fitted(pass_logistic), residuals(pass_logistic,"response"), col= "red", xlab="Fitted Values", ylab="Residuals",cex.axis=1.5, cex.lab=1.5)
The reason of
ylab has been explained in the earlier chapters.