Specifies a mean as a model parameter.
Syntax
object.Mean (variableName)
object.Mean (variableName, parameterValue)
object.Mean (variableName, parameterName)
The Mean 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 Mean method makes that variable's mean a model parameter. |
parameterValue |
(Optional) Parameter value. If parameterValue = 3, say, then the mean is fixed at 3. |
parameterName |
(Optional) Parameter name. If parameterName = "abc", say, then the mean is named "abc". It is constrained to be equal to any other parameters named "abc". If parameterName = "3?", say then the mean is given an initial value of 3, and is unconstrained. If parameterName = "abc:3", say, then the mean 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 mean is an unconstrained parameter. |
Placement: [2].
Default
When the ModelMeansAndIntercepts method is not used, then the means of all exogenous variables are unconstrained. However, the means are not estimated.
When the ModelMeansAndIntercepts method is used, the following default assumptions are made about means that are not constrained or fixed at constant values by use of the MStructure or Mean methods.
The means of observed, exogenous variables are free parameters.
The means of unobserved, exogenous variables are fixed at zero.
Remarks
If parameterValue and parameterName are omitted, the mean is an unconstrained parameter.
See Also