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

Arguments

vd

volumetric demand data (long format) with set size variation

order

integer, either 1 or 2 (for now), indicating linear or quadratic set-size effect

R

draws

keep

thinning

cores

no of CPU cores to use (default: auto-detect)

control

list containing additional settings

Value

est ec-draw object (List)

Examples

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)
#> Using 2 cores
#>  MCMC in progress 
#> MCMC complete
#>  Total Time Elapsed: 0.00 minutes