Description
Choice-Based Conjoint Experiment Design Generation and Power Evaluation in R.
Description
Design and evaluate choice-based conjoint survey experiments. Generate a variety of survey designs, including random designs, full factorial designs, orthogonal designs, D-optimal designs, and Bayesian D-efficient designs as well as designs with "no choice" options and "labeled" (also known as "alternative specific") designs. Conveniently inspect the design balance and overlap, and simulate choice data for a survey design either randomly or according to a multinomial or mixed logit 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. Full factorial and orthogonal designs are obtained using the 'DoE.base' package (Grömping, 2018) <doi:10.18637/jss.v085.i05>. D-optimal designs are obtained using the 'AlgDesign' package (Wheeler, 2022) <https://CRAN.R-project.org/package=AlgDesign>. Bayesian D-efficient designs are obtained using the 'idefix' package (Traets et al, 2020) <doi:10.18637/jss.v096.i03>. Choice simulation and model estimation in power analyses are handled using the 'logitr' package (Helveston, 2023) <doi:10.18637/jss.v105.i10>.
README.md
cbcTools
Functions for designing surveys and conducting power analyses for choice-based conjoint survey experiments in R. Each function in the package begins with cbc_
and supports a step in the following process for designing and analyzing surveys:
Usage
View the usage page for details on how to use cbcTools.
Installation
You can install the latest version of {cbcTools} from CRAN:
install.packages("cbcTools")
or you can install the development version of {cbcTools} from GitHub:
# install.packages("remotes")
remotes::install_github("jhelvy/cbcTools")
Load the library with:
library(cbcTools)
Author, Version, and License Information
- Author: John Paul Helvestonhttps://www.jhelvy.com/
- Date First Written: October 23, 2020
- License: MIT
Citation Information
If you use this package for in a publication, I would greatly appreciate it if you cited it - you can get the citation by typing citation("cbcTools")
into R:
citation("cbcTools")
#>
#> To cite cbcTools in publications use:
#>
#> Helveston JP (2023). _cbcTools: Design and Evaluate Choice-Based
#> Conjoint Survey Experiments_. R package,
#> <https://jhelvy.github.io/cbcTools/>.
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {{cbcTools}: Design and Evaluate Choice-Based Conjoint Survey Experiments},
#> author = {John Paul Helveston},
#> year = {2023},
#> note = {R package},
#> url = {https://jhelvy.github.io/cbcTools/},
#> }