wec: Weighted Effect Coding

Share:

Provides functions to create factor variables with contrasts based on weighted effect coding. In weighted effect coding the estimates from a first order regression model show the deviations per group from the sample mean. This is especially useful when a researcher has no directional hypotheses and uses a sample from a population in which the number of observation per group is different The package also provides functionality for interactions between two factor variables based on weighted effect coding. Please note that this is a beta version: while functional, it does not follow all R conventions.

Author
Rense Nieuwenhuis, Manfred te Grotenhuis, Ben Pelzer, Alexander Schmidt, Ruben Konig, Rob Eisinga
Date of publication
2016-11-16 01:15:38
Maintainer
Rense Nieuwenhuis <rense.nieuwenhuis@sofi.su.se>
License
GPL-3
Version
0.3
URLs

View on CRAN

Man pages

BMI
Data on BMI of Dutch citizens
contr.wec
Function calculates contrasts for a factor variable based on...
PUMS
Public Use Microdata Sample files (PUMS) 2013
wec.interact
Function to create an interaction between two variables based...

Files in this package

wec
wec/inst
wec/inst/CITATION
wec/NAMESPACE
wec/data
wec/data/PUMS.rdata
wec/data/BMI.RData
wec/R
wec/R/contr.wec.R
wec/R/wec.interact.R
wec/MD5
wec/DESCRIPTION
wec/man
wec/man/wec.interact.Rd
wec/man/PUMS.Rd
wec/man/BMI.Rd
wec/man/contr.wec.Rd