regression.diagnostic.cmp | R Documentation |
This suite of functions provides the basic quantities which are used in forming a wide variety of diagnostics for checking the quality of regression fits.
## S3 method for class 'cmp' influence(model, ...) ## S3 method for class 'cmp' hatvalues(model, ...) ## S3 method for class 'cmp' rstandard( model, infl = influence.cmp(model), type = c("deviance", "pearson"), ... ) ## S3 method for class 'cmp' cooks.distance( model, infl = influence(model), res = infl$pear_res, hat = infl$hat, ... )
model |
an object class 'cmp', obtained from a call to |
... |
other arguments passed to or from other methods (currently unused). |
infl |
influence structure as returned by |
type |
type of residuals for |
res |
residuals, with proper default. |
hat |
hat values H[i,i], see default. |
data(attendance) M.attendance <- glm.cmp(daysabs ~ gender + math + prog, data = attendance) influence(M.attendance) hatvalues(M.attendance) rstandard(M.attendance, type = "pearson") cooks.distance(M.attendance)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.