powered by
This model REQUIRES variation in choice-set size
vd_est_vdm_ss( vd, order = 1, R = 1e+05, keep = 10, cores = NULL, control = list(include_data = TRUE) )
est ec-draw object (List)
volumetric demand data (long format) with set size variation
integer, either 1 or 2 (for now), indicating linear or quadratic set-size effect
draws
thinning
no of CPU cores to use (default: auto-detect)
list containing additional settings
data(icecream) #note that for this example dataset, the model is not identified #because the data lacks variation in set size icecream_est <- icecream %>% vd_est_vdm_ss(R=10, cores=2)
Run the code above in your browser using DataLab