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. © 2006 StataCorp LP.
CITATION STYLE
Cox, N. J. (2006). Speaking Stata: In praise of trigonometric predictors. Stata Journal, 6(4), 561–579. https://doi.org/10.1177/1536867x0600600408
Mendeley helps you to discover research relevant for your work.