biogeme_beta: Create a Biogeme parameter

View source: R/expressions.R

biogeme_betaR Documentation

Create a Biogeme parameter

Description

Create a Biogeme parameter

Usage

biogeme_beta(
  name,
  start = 0,
  lower = NULL,
  upper = NULL,
  fixed = FALSE,
  sigma_prior = 5,
  prior = NULL
)

Arguments

name

Parameter name.

start

Initial value.

lower

Optional lower bound.

upper

Optional upper bound.

fixed

Logical value indicating whether the parameter is fixed.

sigma_prior

Standard deviation of the native default normal prior.

prior

Optional declarative prior from biogeme_prior(). It is compiled into a native PyMC prior factory; R callbacks are not accepted.

Details

Parameter names are preserved exactly by the bridge and are therefore part of the equivalence contract with native Biogeme. Bounds and fixed are passed to the native parameter definition.

Value

A parameter expression.

Examples

b_cost <- biogeme_beta("b_cost", start = -1, upper = 0)
b_cost

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