| estimate_sampled_alternatives | R Documentation |
Regenerates the sampled choice sets with recycling disabled, compiles the sampled likelihood once in native Biogeme, and delegates estimation to the native engine. No Python source is generated by the R interface.
estimate_sampled_alternatives(
model,
model_name = "rbiogeme_sampled",
controls = list(),
starting_values = NULL,
run_bootstrap = FALSE,
control = NULL
)
model |
A [ |
model_name |
Native Biogeme model name. |
controls |
Named native Biogeme controls. |
starting_values |
Optional named finite numeric vector. |
run_bootstrap |
Whether to run native bootstrap re-estimation. |
control |
Optional [ |
A biogeme_fit object with native sampling-context and sampled-file
metadata attached.
sampled_alternatives_model()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.