Weighted effect coding for observational data with wec

32Citations
Citations of this article
647Readers
Mendeley users who have this article in their library.

Abstract

Weighted effect coding refers to a specific coding matrix to include factor variables in generalised linear regression models. With weighted effect coding, the effect for each category represents the deviation of that category from the weighted mean (which corresponds to the sample mean). This technique has particularly attractive properties when analysing observational data, that commonly are unbalanced. The wec package is introduced, that provides functions to apply weighted effect coding to factor variables, and to interactions between (a.) a factor variable and a continuous variable and between (b.) two factor variables.

Cite

CITATION STYLE

APA

Nieuwenhuis, R., Grotenhuis, M. te, & Pelzer, B. (2017). Weighted effect coding for observational data with wec. R Journal, 9(1), 477–485. https://doi.org/10.32614/rj-2017-017

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free