Man pages for echoice2
Choice Models with Economic Foundation

dd_demDiscrete Choice Predictions (HMNL)
dd_dem_srDiscrete Choice Predictions (HMNL with attribute-based...
dd_est_hmnlEstimate discrete choice model (HMNL)
dd_est_hmnl_screenEstimate discrete choice model (HMNL, attribute-based...
dd_LLLog-Likelihood for compensatory hmnl model
dd_LL_srLog-Likelihood for screening hmnl model
dummifyCreate dummy variables within a tibble
dummyvarDummy-code a categorical variable
ec_boxplot_MUGenerate MU_theta boxplot
ec_boxplot_screenGenerate Screening probability boxplot
ec_dem_aggregateAggregate posterior draws of demand
ec_demcurveCreate demand curves
ec_demcurve_cond_demCreate demand-incidence curves
ec_demcurve_inciCreate demand-incidence curves
ec_dem_evalEvaluate (hold-out) demand predictions
ec_dem_summariseSummarize posterior draws of demand
ec_draws_MUObtain MU_theta draws
ec_draws_screenObtain Screening probability draws
ec_estimates_MUObtain upper level model estimates
ec_estimates_screenSummarize attribute-based screening parameters
ec_estimates_SIGMAObtain posterior mean estimates of upper level covariance
ec_estimates_SIGMA_corrObtain posterior mean estimates of upper level correlations
ec_gen_err_ev1Simulate error realization from EV1 distribution
ec_gen_err_normalSimulate error realization from Normal distribution
echoice2-packageechoice2: Choice Models with Economic Foundation
ec_lmd_NRObtain Log Marginal Density from draw objects
ec_lol_tidy1Convert "list of lists" format to long "tidy" format
ec_screenprob_srScreening probabilities of choice alternatives
ec_screen_summariseSummarize posterior draws of screening
ec_summarize_attrlvlsSummarize attributes and levels
ec_trace_MUGenerate MU_theta traceplot
ec_trace_screenGenerate Screening probability traceplots
ec_undummyConverts a set of dummy variables into a single categorical...
ec_undummy_lowhighConvert dummy-coded variables to low/high factor
ec_undummy_lowmediumhighConvert dummy-coded variables to low/medium/high factor
ec_undummy_yesnoConvert dummy-coded variables to yes/no factor
ec_util_choice_to_longConvert a vector of choices to long format
ec_util_dummy_mutualeclusiveFind mutually exclusive columns
get_attr_lvlObtain attributes and levels from tidy choice data with...
grapes-.-grapesGet the attribute of an object
icecreamicecream
icecream_discreteicecream_discrete
logMargDenNRuLog Marginal Density (Newton-Raftery)
pizzapizza
prep_newpredictionMatch factor levels between two datasets
vd_add_prodidAdd product id to demand draws
vd_dem_summariseSummarize posterior draws of demand (volumetric models only)
vd_dem_vdmDemand Prediction (Volumetric Demand Model)
vd_dem_vdm_screenDemand Prediction (Volumetric demand, attribute-based...
vd_dem_vdm_ssDemand Prediction (Volumetric demand, accounting for set-size...
vd_est_vdmEstimate volumetric demand model
vd_est_vdm_screenEstimate volumetric demand model with attribute-based...
vd_est_vdm_ssEstimate volumetric demand model accounting for set size...
vd_LL_vdmLog-Likelihood for compensatory volumetric demand model
vd_LL_vdm_screenLog-Likelihood for conjunctive-screening volumetric demand...
vd_LL_vdmssLog-Likelihood for volumetric demand model with set-size...
vd_long_tidyGenerate tidy choice data with dummies from long-format...
vd_preparePrepare choice data for analysis
vd_prepare_noxPrepare choice data for analysis (without x being present)
vd_thin_drawThin 'echoice2'-vd draw objects
echoice2 documentation built on Nov. 20, 2023, 9:06 a.m.