Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Phase difference between different sine waves


From   Nilay Kumar <[email protected]>
To   [email protected]
Subject   st: Phase difference between different sine waves
Date   Mon, 24 Mar 2014 07:34:26 -0400

Dear Statalisters,

I have a time series dataset that I'm using to perform a cosinor
analysis. There are four subjects with 400 weekly observations with a
seasonal pattern of variation. I used OLS regression to fit a
sinusoidal wave to these variables using the cosine and sine functions
of time as predictors.
I want to know how I can calculate the phase difference between the
different sine waves generated by the OLS regression for different
variables. If someone can suggest a way to graphically represent the
phase difference that would be very helpful. Thanks in advance for
your time!

Sincerely,
Nilay
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index