dp.ME.cook {influence.ME}R Documentation

Dotplot visualization of Cook's Distance

Description

This is a wrapper function to the dotplot() function in the lattice-package. It transforms the output from the ME.cook() function and calls dotplot() to provide the user with a visualization of the Cook's Distances.

Usage

dp.ME.cook(estex, parameters = 0, groups = 0, tol = 0, sort=FALSE, ...)

Arguments

estex An object as returned by the estex() function, containing the altered estimates of a mixed effects regression model.
parameters Used to define a selection of parameters. If parameters = 0 (default), Cook's Distance is calculated based on all parameters in the model.
groups Used to define a selection of nesting groups that should be visualized. If groups = 0 (default), the values of Cook's Distance for all nesting groups are shown.
tol Values of Cook's Distance exceeding the specified level of tolerance (tol) are plotted visually different from values not exceeding tolerance. If tol=0 (default), no such differentiation is made in the way values are plotted.
sort If sort=TRUE the values of Cook's Distance are ordered based on magnitude before visualization. If sort=FALSE (default) no sorting takes place.
... Further arguments passed on to the dotplot() function.

Author(s)

Rense Nieuwenhuis, Ben Pelzer, Manfred te Grotenhuis

See Also

estex, ME.cook, dp.ME.dfbetas, dp.ME.pchange

Examples

data(school23)
model <- lmer(math ~ structure + SES  + (1 | school.ID), data=school23)

alt.est <- estex(model, "school.ID")
dp.ME.cook(alt.est)
dp.ME.cook(alt.est, tol=.35)


[Package influence.ME version 0.6.1 Index]