Generalized Hybrid Contrast Coding in Linear Models

Implements generalized hybrid contrast coding methods for K-level categorical predictors in linear models as established by Obulezi (2026)[cite: 3]. The package automates design matrix construction mixing dummy indicators and composite group contrasts, checks rank constraints via singular value decomposition, computes closed-form OLS parameter mappings, and estimates robust heteroscedastic covariance matrices[cite: 3].


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ghcclm")

0.1.0 by Okechukwu J. Obulezi, 2 months ago


Browse source code at https://github.com/cran/ghcclm


Authors: Okechukwu J. Obulezi [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports stats

Suggests testthat


See at CRAN