next up previous index
Next: Other Classes Up: Specification and Coefficients Previous: Loading from and Writing   Index


Specified Coefficients

In order to connect a specification with coefficients, Opus uses the class SpecifiedCoefficients. Its method create() takes an instance of class Coefficients and an instance of class EquationSpecification and creates arrays of coefficient values, standard errors and other measures. The shape of those arrays is such that they can be easily combined with data arrays when connecting coefficients to variable values. In particular they have three dimensions, number of equations, number of variables and number of submodels.

For working with single submodels, there is a child class of SpecifiedCoefficients, called SpecifiedCoefficientsFor1Submodel, that is initialized by passing the parent object and the submodel number.

Those classes are created and used by the two opus_core models, regression model for computing the regression and the choice model for computing the utilities.


next up previous index
Next: Other Classes Up: Specification and Coefficients Previous: Loading from and Writing   Index
info (at) urbansim.org