Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: multi
See also: ymulz zxgen

Quantlet: zmulz
Description: auxiliary matrix multiplication for least squares regression

Usage: zz = zmulz(ord,di,tb,te,adj,opt,typ,ytt)
Input:
ord integer, order of series
di integer, dimension of time series
tb integer
te integer
adj scalar
opt integer
typ integer, describing the model type
ytt vector, the transformed time series
Output:
zz matrix

Example:
library("multi")
ytt=1:3~2:4~3:5
typ=1
zmulz(1,3,3,4,0,0,typ,ytt)

Result:
Contents of zz
[1,]        2        5        7        9
[2,]        5       13       18       23
[3,]        7       18       25       32
[4,]        9       23       32       41



Author: C. Hafner, S. Sperlich, W. Haerdle, 19971024 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006