The QLIM Procedure

HETERO Statement

HETERO dependent variables $\sim $ exogenous variables </ options > ;

The HETERO statement specifies variables that are related to the heteroscedasticity of the residuals and the way these variables are used to model the error variance. The heteroscedastic regression model supported by PROC QLIM is

\[  y_{i} = \mb {x} _{i}’{\bbeta } + {\epsilon }_{i}  \]
\[  {\epsilon }_{i} \sim \mr {N}(0, {\sigma }_{i}^{2})  \]

See the section Heteroscedasticity for more details on the specification of functional forms.

LINK=value

The functional form can be specified using the LINK= option. The following option values are allowed:

EXP

specifies the exponential link function

$\displaystyle  \sigma _{i}^{2}  $
$\displaystyle  =  $
$\displaystyle  \sigma ^{2}(1+{\exp }( \Strong{z} ^{}_{i}{\bgamma }))  $

LINEAR

specifies the linear link function

$\displaystyle  \sigma _{i}^{2}  $
$\displaystyle  =  $
$\displaystyle  \sigma ^{2}(1+\Strong{z} ^{}_{i}{\bgamma })  $

When the LINK= option is not specified, the exponential link function is specified by default.

NOCONST

specifies that there be no constant in the linear or exponential heteroscedasticity model.

$\displaystyle  \sigma _{i}^{2}  $
$\displaystyle  =  $
$\displaystyle  \sigma ^{2}( \Strong{z} ^{}_{i}{\bgamma })  $
$\displaystyle \sigma _{i}^{2}  $
$\displaystyle  =  $
$\displaystyle  \sigma ^{2} {\exp }(\Strong{z} ^{}_{i}{\bgamma })  $

SQUARE

estimates the model by using the square of linear heteroscedasticity function. For example, you can specify the following heteroscedasticity function:

\[  \sigma _{i}^{2} = \sigma ^2(1+(\mb {z} ^{}_{i}{\bgamma })^{2})  \]
   model y = x1 x2 / discrete;
   hetero y ~ z1 / link=linear square;

The option SQUARE does not apply to exponential heteroscedasticity function because the square of an exponential function of $\mb {z} ^{}_{i}{\bgamma }$ is the same as the exponential of $2\mb {z} ^{}_{i}{\bgamma }$. Hence the only difference is that all $\bgamma $ estimates are divided by two.

You can use the HETERO statement within a Bayesian framework, but you should do this carefully because convergence can be slower than in the homoscedastic case. For more information see Priors for Heteroscedastic Models.