dd_est_hmnl {echoice2}R Documentation

Estimate discrete choice model (HMNL)

Description

Estimate discrete choice model (HMNL)

Usage

dd_est_hmnl(
  dd,
  R = 1e+05,
  keep = 10,
  cores = NULL,
  control = list(include_data = TRUE)
)

Arguments

dd

discrete choice data (long format)

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)

See Also

dd_dem() to generate demand predictions based on this model

Examples

data(icecream_discrete)
icecream_est <- icecream_discrete %>% dd_est_hmnl(R=20, cores=2)


[Package echoice2 version 0.2.4 Index]