-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
78,958 additions
and
80,041 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
.. currentmodule:: larch | ||
|
||
======================= | ||
Logit Models | ||
======================= | ||
|
||
The basic tool for analysis in Larch is a discrete choice model. | ||
|
||
Creating :class:`Model` Objects | ||
------------------------------- | ||
|
||
.. py:class:: Model(db=None) | ||
:param db: The source database used to automatically populate model arrays. | ||
:type db: :class:`DB` | ||
|
||
This object represents a discrete choice model. In addition to the methods | ||
described below, a :class:`Model` also acts like a list of :class:`Parameter`. | ||
|
||
|
||
.. py:method:: Model.Example(number=1) | ||
Generate an example model object. | ||
|
||
:param number: The code number of the example model to load. Valid numbers | ||
include {1,101,102,104,109,114}. | ||
:type number: int | ||
|
||
Larch comes with a few example models, which are used in documentation | ||
and testing. Models with numbers greater than 100 are designed to align with | ||
the `example models given for Biogeme <http://biogeme.epfl.ch/swissmetro/examples.html>`_. | ||
|
||
.. py:method:: Model.estimate() | ||
Find the likelihood maximizing parameters of the model. | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.. currentmodule:: larch | ||
|
||
======================= | ||
Model Parameters | ||
======================= | ||
|
||
.. autoclass:: Parameter(name='',value=0,null_value=0) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.