EconPapers    
Economics at your fingertips  
 

Speaking Stata: In praise of trigonometric predictors

Nicholas Cox

Stata Journal, 2006, vol. 6, issue 4, 561-579

Abstract: Using sine and cosine terms as predictors in modeling periodic time series and other kinds of periodic responses is a long-established technique, but it is often overlooked in many courses or textbooks. Such trigonometric regression is straightforward in Stata through applications of existing commands. I give various examples using classic periodic datasets on the motion of the asteroid Pallas and the daily rhythm of birth numbers. I make a brief connection to polynomial-trigonometric regression.

Keywords: circular regression; Fourier regression; harmonic regression; periodic regression; polynomial-trigonometric regression; trigonometric regression; sine; cosine (search for similar items in EconPapers)
Date: 2006
References: View complete reference list from CitEc
Citations: View citations in EconPapers (3)

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0116
http://www.stata-journal.com/software/sj6-4/st0116/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:6:y:2006:i:4:p:561-579

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-29
Handle: RePEc:tsj:stataj:v:6:y:2006:i:4:p:561-579