mattwigway / DiscreteChoiceModels.jl

Discrete choice/random utility models in Julia
MIT License
12 stars 1 forks source link

f suffix is unclear, change to fixed #12

Closed mattwigway closed 2 years ago

mattwigway commented 2 years ago

For fixed coefficients, it's not very expressive to say ":asc = 0f" especially since in some languages (e.g. Java) this would mean 0 is a float, not fixed. Also, no spaces can come between 0 and f, because it's parsed as multiplication. Proposed new syntax:

:asc = 0, fixed

Much clearer.