Biogeme: Python Library  2.5
Classes | Functions | Variables
bio_expression.py File Reference

Go to the source code of this file.

Classes

class  bio_expression.Operator
 Generic class for an operator. More...
 
class  bio_expression.Expression
 Interface for mathematical expressions. More...
 
class  bio_expression.Numeric
 Class wrapping an integer or a float value. More...
 
class  bio_expression.Variable
 Class representing the variables defined in the data file. More...
 
class  bio_expression.RandomVariable
 Class representing a random variable for numerical integration. More...
 
class  bio_expression.DefineVariable
 Class representing the definition of a new variable. More...
 
class  bio_expression.DefineDraws
 Class representing the definition of a new type of draws. More...
 
class  bio_expression.Beta
 Class representing a parameter to be estimated. More...
 
class  bio_expression.bioDraws
 Class representing a random variable for integration using Monte Carlo simulation. More...
 
class  bio_expression.bioRecycleDraws
 Class representing the uniform draw of a random variable used for integration using Monte Carlo simulation. More...
 
class  bio_expression.bioNormalDraws
 Class representing a normally distributed random variable for simulated integration. More...
 
class  bio_expression.bioUniformSymmetricDraws
 Class representing a uniformly distributed random variable on [-1,1] for simulated integration. More...
 
class  bio_expression.bioUniformDraws
 Class representing a uniformly distributed random variable on [0,1] for simulated integration. More...
 
class  bio_expression.UnOp
 Generic class for unary operators. More...
 
class  bio_expression.abs
 Class representing the expression for absolute value. More...
 
class  bio_expression.exp
 Class representing the expression for exponential. More...
 
class  bio_expression.log
 Class representing the expression for natural logarithm. More...
 
class  bio_expression.bioNormalCdf
 Class representing the cumulative distribution function of the normal distribution. More...
 
class  bio_expression.max
 Class representing the expression for the maximum of two expressions. More...
 
class  bio_expression.min
 Class representing the expression for the minimum of two expressions. More...
 
class  bio_expression.BinOp
 Generic class for binary operators. More...
 
class  bio_expression.MonteCarlo
 Class representing the Monte Carlo integration of an expression. More...
 
class  bio_expression.MonteCarloControlVariate
 Class representing the Monte Carlo integration of an expression, using a control variate method to decrease the variance. More...
 
class  bio_expression.Sum
 Class representing the sum of the same expression applied to a list of data. More...
 
class  bio_expression.Prod
 Class representing the product of the same expression applied to a list of data. More...
 
class  bio_expression.Integrate
 Class performing numerical integration relying on the Gauss-Hermite quadrature to compute

\[ \int_{-\infty}^{+\infty} f(\omega) d\omega. \]

. More...

 
class  bio_expression.Derive
 Class generating the analytical derivative of an expression. More...
 
class  bio_expression.bioNormalPdf
 Class representing the probability density function of a standardized normally distributed random variable. More...
 
class  bio_expression.Elem
 Class extracting an expression from a dictionary. More...
 
class  bio_expression.bioLogit
 Class calculating a logit choice probability. More...
 
class  bio_expression.bioLogLogit
 Class calculating the log of a logit choice probability. More...
 
class  bio_expression.bioMultSum
 Class computing the sum of multiple expressions. More...
 
class  bio_expression.Enumerate
 Class performing a sample enumeration. More...
 
class  bio_expression.bioBayesNormalDraw
 Class performing draws from the posterior of the mean of a normal variable knowing realizations and variance. More...
 
class  bio_expression.MH
 Class performing draws from densities for Bayesian estimation using Metropolis-Hastings algorithm. More...
 

Functions

def bio_expression.buildExpressionObj (exp)
 Build an "Expression" object from a numeric value. More...
 

Variables

 bio_expression.Operator = Operator()
 

Detailed Description

Author
Michel Bierlaire and Mamy Fetiarison

Definition in file bio_expression.py.

Function Documentation

def bio_expression.buildExpressionObj (   exp)

Build an "Expression" object from a numeric value.

Parameters
expObject of numeric type or of type Expression

Definition at line 83 of file bio_expression.py.

Copyright 2016 Michel Bierlaire