Specifies a variance as a model parameter.
Syntax
object.Var (variableName)
object.Var (variableName, parameterValue)
object.Var (variableName, parameterName)
The Var method syntax has the following parts:
Part |
Description |
object |
An object of type AmosEngine. |
variableName |
The character string, variableName, is the name of an exogenous variable. The Var method makes its variance a model parameter. |
parameterValue |
(Optional) Parameter value. If parameterValue = 3, say, then the variance is fixed at 3. |
parameterName |
(Optional) Parameter name. If parameterName = "abc", say, then the variance is named "abc". It is constrained to be equal to any other parameters named "abc". If parameterName = "3?", say then the variance is given an initial value of 3, and is unconstrained. If parameterName = "abc:3", say, then the variance is named "abc" and is given an initial value of 3. It is constrained to be equal to any other parameters named "abc". If parameterName is an empty string (""), the variance is an unconstrained parameter. |
Placement: [2].
Default
The variance of an exogenous variable is an unconstrained parameter unless it has been constrained or fixed at a constant by use of the Var or AStructure method.
Remarks
If parameterValue and parameterName are omitted, the variance is an unconstrained parameter.