Skip to content

cbcTools

Design and Analyze Choice-Based Conjoint Experiments

v0.7.1 · Oct 20, 2025 · MIT + file LICENSE

Description

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>.

Downloads

422

Last 30 days

8956th

1.2K

Last 90 days

5.1K

Last year

Trend: -13.9% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 30, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-devel-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘choices.Rmd’ using rmarkdown
--- finished re-building ‘choices.Rmd’

--- re-building ‘d_error.Rmd’ using rmarkdown
--- finished re-building ‘d_error.Rmd’

--- re-building ‘design.Rmd’ using rmarkdow
...[truncated]...
e-building ‘priors.Rmd’

--- re-building ‘profiles.Rmd’ using rmarkdown
--- finished re-building ‘profiles.Rmd’

SUMMARY: processing the following files failed:
  ‘getting-started.Rmd’ ‘power.Rmd’

Error: Vignette re-building failed.
Execution halted

Dependency Network

Dependencies Reverse dependencies fastDummies ggplot2 idefix logitr randtoolbox rlang cbcTools

Version History

new 0.7.1 Mar 10, 2026
updated 0.7.1 ← 0.6.4 diff Oct 19, 2025
updated 0.6.4 ← 0.6.3 diff Sep 22, 2025
updated 0.6.3 ← 0.6.2 diff Aug 20, 2025
updated 0.6.2 ← 0.5.0 diff Jul 16, 2025
updated 0.5.0 ← 0.4.0 diff Jul 12, 2023
updated 0.4.0 ← 0.3.4 diff Jun 29, 2023
updated 0.3.4 ← 0.3.3 diff Jun 12, 2023
updated 0.3.3 ← 0.3.2 diff Jun 1, 2023
updated 0.3.2 ← 0.3.0 diff May 22, 2023
updated 0.3.0 ← 0.2.0 diff May 9, 2023
new 0.2.0 Feb 27, 2023