mdcev_forecast: Forecast MDCEV consumption using native Biogeme algorithms

View source: R/mdcev.R

mdcev_forecastR Documentation

Forecast MDCEV consumption using native Biogeme algorithms

Description

Forecast MDCEV consumption using native Biogeme algorithms

Usage

mdcev_forecast(
  model,
  fit,
  database = NULL,
  total_budget,
  epsilons = NULL,
  number_of_draws = NULL,
  seed = NULL,
  brute_force = FALSE,
  tolerance_dual = 1e-10,
  tolerance_budget = 1e-10
)

Arguments

model

A biogeme_mdcev_model() object.

fit

A fresh mdcev_estimate() result.

database

Optional database used only for forecasting. This permits forecasting a native row subset without changing the estimation fit.

total_budget

Positive total budget.

epsilons

Optional list of Gumbel-draw matrices. If omitted, native draws are generated using number_of_draws and seed.

number_of_draws

Number of draws when epsilons is omitted.

seed

Optional native NumPy seed when draws are generated.

brute_force

Whether to use native brute-force optimization.

tolerance_dual

Native dual-variable tolerance.

tolerance_budget

Native budget-constraint tolerance.

Value

A biogeme_mdcev_forecast object containing R data frames.


rbiogeme documentation built on Sept. 29, 2026, 5:09 p.m.