Learn R Programming

echoice2 (version 0.2.3)

vd_est_vdm_screen: Estimate volumetric demand model with attribute-based conjunctive screening

Description

Estimate volumetric demand model with attribute-based conjunctive screening

Usage

vd_est_vdm_screen(
  vd,
  R = 1e+05,
  keep = 10,
  cores = NULL,
  error_dist = "EV1",
  price_screen = TRUE,
  control = list(include_data = TRUE)
)

Value

est ec-draw object (List)

Arguments

vd

volumetric demand data (long format)

R

draws

keep

thinning

cores

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

error_dist

A string defining the error term distribution, 'EV1' or 'Normal' (default: 'EV1')

price_screen

A logical, indicating whether price tag screening should be estimated (default: TRUE)

control

list containing additional settings

Examples

Run this code
data(icecream)
icecream_est <- icecream %>% vd_est_vdm_screen(R=10, cores=2)

Run the code above in your browser using DataLab