qq4res {mixtox}R Documentation

Residual Normal QQ Plot

Description

Producing a side-by-side QQ plot of the residuals against standard normal quantiles.

Usage

qq4res(object, xlabel = 'Theoretical Quantiles', ylabel = 'Residuals', 
       lgd = NULL)

Arguments

object

object of class curveFit.

xlabel, ylabel

plot labels.

lgd

legend of the plot

Details

The empirical quantiles are plotted against the quantiles of a standard normal distribution. If the residuals are from a normal distribution with mean 0, the points tend to fall along the reference line that has an intercept of 0 and a slope equal to the estimated standard deviation.

Examples

## example 1
# 
x <- antibiotox$PAR$x
expr <- antibiotox$PAR$y
obj <- curveFit(x, expr, eq = 'Logit', rtype = 'quantal', param = c(26, 4), effv = c(0.05, 0.5))
qq4res(obj)

[Package mixtox version 1.4.0 Index]