vd_est_vdm_ss {echoice2}R Documentation

Estimate volumetric demand model accounting for set size variation (1st order)

Description

This model REQUIRES variation in choice-set size

Usage

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)

[Package echoice2 version 0.2.4 Index]