Automates sum coding (also known as effect coding) for Ordinary Least Squares (OLS) regression models. This approach is specifically designed to handle seasonal time series and categorical variables by comparing each group to the grand mean, rather than a single baseline category. This ensures that the intercept represents the unweighted grand mean of the dependent variable. For a comprehensive overview of contrast coding systems, see the UCLA Advanced Research Computing documentation (2021) <https://stats.oarc.ucla.edu/r/library/r-library-contrast-coding-systems-for-categorical-variables/>.
| Version: | 0.1.0 |
| Imports: | stats |
| Suggests: | knitr |
| Published: | 2026-04-23 |
| DOI: | 10.32614/CRAN.package.peticontrast |
| Author: | Peti Mester [aut, cre] |
| Maintainer: | Peti Mester <petyatoth2005 at gmail.com> |
| License: | MIT + file LICENSE |
| NeedsCompilation: | no |
| Materials: | README |
| CRAN checks: | peticontrast results |
| Reference manual: | peticontrast.html , peticontrast.pdf |
| Package source: | peticontrast_0.1.0.tar.gz |
| Windows binaries: | r-devel: peticontrast_0.1.0.zip, r-release: peticontrast_0.1.0.zip, r-oldrel: peticontrast_0.1.0.zip |
| macOS binaries: | r-release (arm64): peticontrast_0.1.0.tgz, r-oldrel (arm64): peticontrast_0.1.0.tgz, r-release (x86_64): peticontrast_0.1.0.tgz, r-oldrel (x86_64): peticontrast_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=peticontrast to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.