Presenting Weighted Effect Coding
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Weighted effect coding is a variant of dummy coding to include categorical variables in regression analyses, in which the estimate for each category represents the deviation of that category from the sample mean. The ‘wec’ package for R provides tools to use weighted effect coding.
Manfred te Grotenhuis is currently visiting the Swedish Institute of Social Research (SOFI), where he presented our joint work on Weighted Effect Coding. The recoding of his presentation is available on Manfred’s YouTube channel, and embedded below:
The relevant papers are available here (open access):
- When size matters: advantages of weighted effect coding in observational studies
- A novel method for modelling interaction between categorical variables
More information, as well as software for SPSS and STATA are available from the project website.
ps. Stay updated for an exciting update to the ‘wec’ R package!
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.