Design and evaluate choice-based conjoint survey experiments. Generate a variety of survey designs, including random designs, frequency-based designs, and D-optimal designs, as well as "labeled" designs (also known as "alternative-specific designs"), designs with "no choice" options, and designs with dominant alternatives removed. Conveniently inspect and compare designs using a variety of metrics, including design balance, overlap, and D-error, and simulate choice data for a survey design either randomly or according to a utility model defined by user-provided prior parameters. Conduct a power analysis for a given survey design by estimating the same model on different subsets of the data to simulate different sample sizes. Bayesian D-efficient designs using the 'cea' and 'modfed' methods are obtained using the 'idefix' package by Traets et al (2020) <doi:10.18637/jss.v096.i03>. Choice simulation and model estimation in power analyses are handled using the 'logitr' package by Helveston (2023) <doi:10.18637/jss.v105.i10>.
Version: | 0.6.2 |
Depends: | R (≥ 3.5.0) |
Imports: | fastDummies, ggplot2, idefix (≥ 1.1.0), logitr (≥ 1.0.1), parallel, randtoolbox, rlang, tools, stats, utils |
Suggests: | here, knitr, testthat, tibble |
Published: | 2025-07-17 |
DOI: | 10.32614/CRAN.package.cbcTools |
Author: | John Helveston |
Maintainer: | John Helveston <john.helveston at gmail.com> |
BugReports: | https://github.com/jhelvy/cbcTools/issues |
License: | MIT + file LICENSE |
URL: | https://github.com/jhelvy/cbcTools, https://jhelvy.github.io/cbcTools/ |
NeedsCompilation: | no |
Citation: | cbcTools citation info |
Materials: | README, NEWS |
CRAN checks: | cbcTools results |
Reference manual: | cbcTools.html , cbcTools.pdf |
Vignettes: |
Simulating Choices (source, R code) Computing D-error in Choice Experiments (source, R code) Generating Designs (source, R code) Getting Started (source, R code) Power Analysis (source, R code) Specifying Priors (source, R code) Generating Profiles (source, R code) |
Package source: | cbcTools_0.6.2.tar.gz |
Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Old sources: | cbcTools archive |
Please use the canonical form https://CRAN.R-project.org/package=cbcTools to link to this page.