Structural models

Use this forum to post questions about syntax problems or general programming issues. Questions on implementing a particular aspect of econometrics should go in "Econometrics Issues" below.
mcorozcos
Posts: 23
Joined: Wed Feb 08, 2012 10:04 am

Structural models

Unread post by mcorozcos »

Hello

I need to create a vector (100 rows,1 column) with simulated data for this equation:

st = summation of h=1 until h=[s/2] of Zt(h)

where, zt(h), is the spectral indicator variable associated with each of the λ(h), that is:
zt(h) = (cos λ(h)t, sin λ(h)t)' for h < s/2 and,
when s is even, zt(s/2) = cos λ(s/2)t = cos πt.
where s be the number of seasons and λ(h) = 2πh/s, h = 1, ..., [s/2], are the seasonal frequencies.

I hope, you can help me.

Thanks again.

Regards
Post Reply