| Fractionally Integrated Time Series Analysis |
FARMALIK Call
computes the log-likelihood function of an ARFIMA(p,d,q) model
- CALL FARMALIK( lnl, series, d <, phi, theta, sigma,
p, q, opt>);
The inputs to the FARMALIK subroutine are as follows:
- series
- specifies a time series (assuming mean zero).
- d
- specifies a fractional differencing order.
This argument is required;
the value of d should be in the open interval (-1,1) excluding zero.
- phi
- specifies an mp-dimensional vector
containing the autoregressive coefficients,
where mp is the number of the elements in the subset
of the AR order. The default is zero.
- theta
- specifies an mq-dimensional vector
containing the moving-average coefficients,
where mq is the number of the elements in the subset
of the MA order. The default is zero.
- sigma
- specifies a variance of the innovation series. The default is one.
- p
- specifies the subset of the AR order.
See the FARMACOV subroutine for additional details.
- q
- specifies the subset of the MA order.
See the FARMACOV subroutine for additional details.
- opt
- specifies the method of computing the log-likelihood function.
- opt=0
- requests the conditional sum of squares function.
This is the default.
- opt=1
- requests the exact log-likelihood function.
This option requires that the time series be stationary
and invertible.
The FARMALIK subroutine returns the following value:
- lnl
- is 3-dimensional vector. lnl[1] contains
the log-likelihood function of the model; lnl[2] contains
the sum of the log determinant of the innovation variance;
and lnl[3] contains the weighted
sum of squares of residuals. The log-likelihood function is computed
as -0.5× (lnl[2]+lnl[3]).
If the opt=0 is specified, only the weighted
sum of squares of residuals returns in lnl[1].
To compute the log-likelihood function of
an ARFIMA(1,0.3,1) model

where
,you can specify
d = 0.3;
phi = 0.5;
theta= -0.1;
sigma= 1.2;
call farmasim(yt, d, phi, theta, sigma);
call farmalik(lnl, yt, d, phi, theta, sigma);
print lnl;
The FARMALIK subroutine computes a log-likelihood function of
the ARFIMA(p,d,q) model.
The exact log-likelihood function is worked by Sowell (1992);
the conditional sum of squares function is worked by Chung (1996).
The exact log-likelihood function only considers
a stationary and invertible
ARFIMA(p,d,q) process with
represented as

where
.
Let YT = [y1,y2, ... ,yT ]' and
the log-likelihood function is as follows without a constant term:

where
for i,j = 1,2, ... ,T.
The conditional sum of squares function does
not require the normality assumption. The initial observations
y0, y-1, ... and
,
are set to zero.
Let yt be an ARFIMA(p,d,q) process represented as

then the conditional sum of squares function is

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.