CSSM Procedure
Regression Variable Specification in Multivariate Models
Suppose that a regression variable in a multivariate model affects two or more response variables. For example, suppose that response variables y1 and y2 depend on a regression variable x. This dependence can be categorized as one of two types:
-
In the more common case, the regression coefficient of
xfory1and the regression coefficient ofxfory2are different. The relationship can be described as follows:In the CSSM procedure you can specify this type of relationship in two equivalent ways:
-
You can specify the variable
xin the MODEL statement fory1and specify the variablex_copy(a copy ofx) in the MODEL statement fory2as follows:x_copy = x; /* create a copy of x */ model y1 = x ...; model y2 = x_copy ...; -
You can specify the variable
xin MODEL statements for bothy1andy2as follows:model y1 = x ...; model y2 = x ...;This specification avoids creating
x_copy.
Of these two alternate ways, the first is preferred because
xandx_copycan then be unambiguously used in an EVAL statement to refer to the termsand
, respectively.
-
-
In the less common case,
y1andy2share a common regression coefficient.The relationship can be described as follows:You can specify this type of relationship by placing the regression coefficient in the model state vector as follows:
state beta(1) T(I) A1(1) ; /* beta is a constant state */ comp xeffect = beta*(x) ; model y1 = xeffect ...; model y2 = xeffect ...;Here the STATE statement defines
betaas a one-dimensional, time-invariant constant (because the transition matrix is identity, the disturbance covariance is 0 and the initial state is diffuse). Next, the COMP statement definesxeffectas the product betweenbetaand the variablex. Subsequently, bothy1andy2usexeffectin their respective MODEL statements.