50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

influence.ME (version 0.8.1)

influence.ME-package: Influence.ME: Tools for detecting influential data in mixed effects models

Description

influence.ME calculates measures of influence for mixed effects models estimated with lme4. The basic rationale behind measuring influential cases is that when iteratively single units are omitted from the data, models based on these data should not produce substantially different estimates. To standardize the assessment of how influential a (single group of) observation(s) is, several measures of influence are common practice. First, DFBETAS is a standardized measure of the absolute difference between the estimate with a particular case included and the estimate without that particular case. Second, Cook's distance provides an overall measurement of the change in all parameter estimates, or a selection thereof.

Arguments

docType

package

Details

ll{ Package: influence.ME Type: Package Version: 0.8 Date: 2011-05-13 License: GPL-3 LazyLoad: yes } Calculating measures of influential data on a mixed effects regression model entails the re-estimation of this model for each set of potentially influential data separately. The estex() function does this, and returns the altered estimates resulting from each re-estimation. These altered estimates can subsequently be entered to the ME.cook() and ME.dfbetas() functions, to calculate Cook's Distance and the DFBETAS (standardized difference of the beta) measures.

References

Belsley, D.A., Kuh, E. & Welsch, R.E. (1980). Regression Diagnostics. Identifying Influential Data and Source of Collinearity. Wiley.

Snijders, T.A. & Bosker, R.J. (1999). Multilevel Analysis, an introduction to basic and advanced multilevel modeling. Sage.

Van der Meer, T., Te Grotenhuis, M., & Pelzer, B. (2010). Influential Cases in Multilevel Modeling: A Methodological Comment. American Sociological Review, 75(1), 173-178.

See Also

estex, exclude.influence, ME.cook, ME.dfbetas, ME.pchange

Examples

Run this code
data(school23)
 model.a <- lmer(math ~ structure + SES  + (1 | school.ID), data=school23)
 alt.est.a <- estex(model.a, "school.ID")
 ME.cook(alt.est.a, plot=TRUE, cutoff=.17)
 
 model.b <- exclude.influence(model.a, "school.ID", "7472")
 alt.est.b <- estex(model.b, "school.ID")
 ME.cook(alt.est.b, plot=TRUE, cutoff=.18)

 model.c <- exclude.influence(model.b, "school.ID", "54344")
 alt.est.c <- estex(model.c, "school.ID")
 ME.cook(alt.est.c, plot=TRUE, cutoff=.19)

Run the code above in your browser using DataLab