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.

Structural models

Postby mcorozcos » Wed Jan 02, 2013 4:15 pm

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
mcorozcos
 
Posts: 26
Joined: Wed Feb 08, 2012 11:04 am

Return to Help With Programming

Who is online

Users browsing this forum: No registered users and 0 guests