how to simulate a matrix
Posted: Wed Aug 10, 2011 3:35 pm
HELLO,
please how can I simulate a matrix with time varying coefficients.
for example, A(t)=A(t-1)+v(t) / v(t)~iidN(0,1)
I can simulate one coefficient of the matrix; for example a1:
smpl @all
series a1=0
smpl @first+1 @last
a1=a1(-1)+nrnd
my problem is how to simulate the matrix?
thanks a lot.
please how can I simulate a matrix with time varying coefficients.
for example, A(t)=A(t-1)+v(t) / v(t)~iidN(0,1)
I can simulate one coefficient of the matrix; for example a1:
smpl @all
series a1=0
smpl @first+1 @last
a1=a1(-1)+nrnd
my problem is how to simulate the matrix?
thanks a lot.