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
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.
Return to “Help With Programming”
Jump to
- News and Announcements
- ↳ Forum Announcements
- ↳ RATS Product Announcements
- ↳ Newsletters
- Courses and Seminars
- ↳ Course Announcements
- ↳ ARCH GARCH and Volatility
- ↳ RATS Programming Manual
- Procedures, Examples, and Sample Code
- ↳ RATS Procedures
- ↳ Examples and Sample Code
- ↳ Looking for Code?
- General RATS Discussions
- ↳ Data: Reading, Writing, Transforming
- ↳ Graphics, Reports, and Other Output
- ↳ Help With Programming
- ↳ Other RATS Usage Questions
- ↳ RATS for Teachers & Students
- ↳ Tips and Tricks
- ↳ Suggestion Box
- Econometrics Issues
- ↳ VARs (Vector Autoregression Models)
- ↳ ARCH and GARCH Models
- ↳ State Space Models/DSGE
- ↳ Structural Breaks and Switching Models
- ↳ Panel Data
- ↳ Other Time Series Analysis
- ↳ General Econometrics
- CATS (Cointegration Analysis)
- ↳ CATS News and Announcements
- ↳ CATS Questions