Learn R Programming

svydiags (version 0.6)

Regression Model Diagnostics for Survey Data

Description

Diagnostics for fixed effects linear regression models fitted with survey data. Extensions of standard diagnostics to complex survey data are included: standardized residuals, leverages, Cook's D, dfbetas, dffits, condition indexes, and variance inflation factors as found in Li and Valliant (Surv. Meth., 2009, 35(1), pp. 15-24; Jnl. of Off. Stat., 2011, 27(1), pp. 99-119; Jnl. of Off. Stat., 2015, 31(1), pp. 61-75); Liao and Valliant (Surv. Meth., 2012, 38(1), pp. 53-62; Surv. Meth., 2012, 38(2), pp. 189-202). Variance inflation factors are also computed for some general linear models (binomial, gaussian, poisson, quasibinomial, and quasipoisson) as described in Liao (U. Maryland thesis, 2010).

Copy Link

Version

Install

install.packages('svydiags')

Monthly Downloads

662

Version

0.6

License

GPL-3

Maintainer

Richard Valliant

Last Published

May 8th, 2024

Functions in svydiags (0.6)

svystdres

Standardized residuals for models fitted with complex survey data
svyCooksD

Modified Cook's D for models fitted with complex survey data
svyhat

Leverages for models fitted with complex survey data
nhanes2007

National Health and Nutrition Examination Survey data, 2007-2008
Vmat

Compute covariance matrix of residuals for general linear models fitted with complex survey data
svycollinear

Condition indexes and variance decompositions in linear models fitted with complex survey data
svydfbetas

dfbetas for models fitted with complex survey data
svydffits

dffits for models fitted with complex survey data
svyvif

Variance inflation factors (VIF) for general linear models fitted with complex survey data