Beta is not defined error

Skip to first unread message

Ahmet Heperkan

Dec 28, 2022, 5:15:42 PM12/28/22
to Biogeme
Hello everyone. I'm getting Beta not defined error. do you know how I can fix this? 

#Parameters to be estimated

#Base alternative is alternative1, set ASC1 to 0 in the utility function


ASC1 = Beta('ASC1',0,-10,10,1)

ASC2 = Beta('ASC2',0,-10,10,0)

ASC3 = Beta('ASC3',0,-10,10,0)


Bierlaire Michel

Dec 28, 2022, 5:31:04 PM12/28/22
to, Bierlaire Michel, Biogeme
You forgot to import the expressions;

from biogeme.expressions import Beta

You received this message because you are subscribed to the Google Groups "Biogeme" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Reply all
Reply to author
0 new messages