首页    期刊浏览 2025年07月13日 星期日
登录注册

文章基本信息

  • 标题:Weighted Effect Coding for Observational Data with wec
  • 本地全文:下载
  • 作者:Rense Nieuwenhuis ; Manfred te Grotenhuis ; Ben Pelzer
  • 期刊名称:R News
  • 印刷版ISSN:1609-3631
  • 出版年度:2017
  • 卷号:9
  • 期号:1
  • 页码:477-485
  • 语种:English
  • 出版社:The R Foundation for Statistical Computing
  • 摘要: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.
国家哲学社会科学文献中心版权所有