Discrete Choice in Marketing through the Lens of Rational Inattention
Replication files for "Discrete Choice in Marketing through the Lens of Rational Inattention"
Notes:
-Make sure to always read the "Readme" files in the subfolders
-Replication files are ordered by sections
-"-Main.R" files contain all necessary commands to reproduce tables/figures
IMPORTANT:
For double blind review, proper working directories need to be set manually. As of now, working directories in the replication codes refer to private repository not accessible for non-collaborators. In order to source all needed functions from the "_main.R" files or figure/table files, pull the repository to local path and update
setwd("~/GitHub/OWN_LOCAL_PATH/")
according to your own local path.
Packages needed:
-bayesm
-ggplot2
-entropy
-MASS
-Rcpp
-RcppArmadillo