Biogeme: Python Library  2.5
Public Member Functions | List of all members
bio_expression.bioUniformDraws Class Reference

Class representing a uniformly distributed random variable on [0,1] for simulated integration. More...

Inheritance diagram for bio_expression.bioUniformDraws:
bio_expression.Expression

Public Member Functions

def __init__ (self, name, index='__rowId__')
 
- Public Member Functions inherited from bio_expression.Expression
def __init__ (self)
 Constructor.
 
def getExpression (self)
 
def getID (self)
 
def __str__ (self)
 
def __neg__ (self)
 
def __add__ (self, expression)
 
def __radd__ (self, expression)
 
def __sub__ (self, expression)
 
def __rsub__ (self, expression)
 
def __mul__ (self, expression)
 
def __rmul__ (self, expression)
 
def __div__ (self, expression)
 
def __rdiv__ (self, expression)
 
def __truediv__ (self, expression)
 Support for Python version 3.x. More...
 
def __rtruediv__ (self, expression)
 Support for Python version 3.x. More...
 
def __mod__ (self, expression)
 
def __pow__ (self, expression)
 
def __rpow__ (self, expression)
 
def __and__ (self, expression)
 
def __or__ (self, expression)
 
def __eq__ (self, expression)
 
def __ne__ (self, expression)
 
def __le__ (self, expression)
 
def __ge__ (self, expression)
 
def __lt__ (self, expression)
 
def __gt__ (self, expression)
 

Additional Inherited Members

- Public Attributes inherited from bio_expression.Expression
 operatorIndex
 

Detailed Description

Class representing a uniformly distributed random variable on [0,1] for simulated integration.

A different set of draws will be generated for each group in the data file. By default, the groups are identified by rowId, and a set of draws is generated for each row in the sample. Another typical case corresponds to panel data, where several rows correspond to the same individual. If Id identifies individuals in the data set, a set of draws will be generated for each individual, and not for each observation. Example:

1 Errorcomp = bioUniformDraws('Errorcomp','Id')

Definition at line 488 of file bio_expression.py.

Constructor & Destructor Documentation

def bio_expression.bioUniformDraws.__init__ (   self,
  name,
  index = '__rowId__' 
)
Parameters
namename of the random variable
indexname of the identifier of groups of data associated with a different set of draws. (optional, default='rowId')

Definition at line 493 of file bio_expression.py.


The documentation for this class was generated from the following file:
Copyright 2016 Michel Bierlaire