Biogeme: Python Library  2.5
Functions
Functions used for the model specification

Functions

def boxcox.boxcox (x, l)
 Implements the Box-Cox transform of a variable. More...
 
def legendre.legendre00 (x)
 Implements the transformed Legendre polynomials of degree 0

\[ L_0(x) = 1 \]

. More...

 
def legendre.legendre01 (x)
 Implements the transformed Legendre polynomials of degree 1

\[ L_1(x)=\sqrt{3}(2x-1) \]

. More...

 
def legendre.legendre02 (x)
 Implements the transformed Legendre polynomials of degree 2

\[ L_2(x)=\sqrt{5}(6x^2-6x+1) \]

. More...

 
def legendre.legendre03 (x)
 Implements the transformed Legendre polynomials of degree 3

\[ L_3(x)=\sqrt{7}(20 x^3 30 x^2+12x-1) \]

. More...

 
def legendre.legendre04 (x)
 Implements the transformed Legendre polynomials of degree 4. More...
 
def legendre.legendre05 (x)
 Implements the transformed Legendre polynomials of degree 5. More...
 
def legendre.legendre06 (x)
 Implements the transformed Legendre polynomials of degree 6. More...
 
def legendre.legendre07 (x)
 Implements the transformed Legendre polynomials of degree 7. More...
 

Detailed Description

Function Documentation

def boxcox.boxcox (   x,
  l 
)

Implements the Box-Cox transform of a variable.

Parameters
xvariable to be transformed
lambda$\lambda$ parameter of the transformation
Returns
The Box-Cox transform, that is

\[ \frac{x^\lambda - 1 }{\lambda} \]

Definition at line 11 of file boxcox.py.

def legendre.legendre00 (   x)

Implements the transformed Legendre polynomials of degree 0

\[ L_0(x) = 1 \]

.

Parameters
xargument of the polynomial
Returns
value of the polynomial

Definition at line 9 of file legendre.py.

def legendre.legendre01 (   x)

Implements the transformed Legendre polynomials of degree 1

\[ L_1(x)=\sqrt{3}(2x-1) \]

.

Parameters
xargument of the polynomial
Returns
value of the polynomial

Definition at line 16 of file legendre.py.

def legendre.legendre02 (   x)

Implements the transformed Legendre polynomials of degree 2

\[ L_2(x)=\sqrt{5}(6x^2-6x+1) \]

.

Parameters
xargument of the polynomial
Returns
value of the polynomial

Definition at line 23 of file legendre.py.

def legendre.legendre03 (   x)

Implements the transformed Legendre polynomials of degree 3

\[ L_3(x)=\sqrt{7}(20 x^3 30 x^2+12x-1) \]

.

Parameters
xargument of the polynomial
Returns
value of the polynomial

Definition at line 30 of file legendre.py.

def legendre.legendre04 (   x)

Implements the transformed Legendre polynomials of degree 4.

Parameters
xargument of the polynomial
Returns
value of the polynomial

Definition at line 37 of file legendre.py.

def legendre.legendre05 (   x)

Implements the transformed Legendre polynomials of degree 5.

Parameters
xargument of the polynomial
Returns
value of the polynomial

Definition at line 47 of file legendre.py.

def legendre.legendre06 (   x)

Implements the transformed Legendre polynomials of degree 6.

Parameters
xargument of the polynomial
Returns
value of the polynomial

Definition at line 57 of file legendre.py.

def legendre.legendre07 (   x)

Implements the transformed Legendre polynomials of degree 7.

Parameters
xargument of the polynomial
Returns
value of the polynomial

Definition at line 67 of file legendre.py.

Copyright 2016 Michel Bierlaire