Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Regression Analysis of Tidal Phases

  1. Nov 19, 2014 #1
    I have some 3-D model output for a river system that is tidally forced at the entrance. Right now, I'm trying to perform some linear regression on the harmonic constants of various tidal constituents at for several locations along the river compared to the observed tidal data. A linear regression of the model vs. observed tidal amplitudes is straightforward but how would you do a similar OLS regression of the tidal phases if they are cyclical (phase wraps)?

    For example, say the downstream station 1 (S1) M2 tide has an observed phase of 230 degrees and a modeled phase of 240 degrees but the upstream station 5 (S5) M2 tide has an observed phase of 358 degrees and the a modeled phase of 3 degrees. Obviously the S5 regression point will appear as an outlier even the the phase difference is truly 5 degrees.

    1877_K1_M2_regress_chezy_53.png
    The third plot (bottom left) are phases plotted using tangent with domain -pi < theta < pi

    I thought about adjusting all of the phases by subtracting the minimum phase of the observed data (x-value to 0) but that may not fix the problem if the difference between observed and modeled phase of one station is greater than that minimum value.

    Can I transform the phases into some phase difference? I attempted to just take the cosine(phase) but that restricts the phases to a domain of -1 to 1 where cosine(90) and cosine(270) both give me 0. Is there a way to use four-quadrant tangent technique? There must be some non-linear OLS model to apply to the phase. How would I get confidence intervals and R values?
     
    Last edited: Nov 19, 2014
  2. jcsd
  3. Nov 20, 2014 #2

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    If there is no ambiguity, you can fix the phase values before the fit, e. g. assign -2 degrees to your observed phase because this is closer to the modeled phase.
    If there is ambiguity (like a measured phase of 170 degrees with a model phase of 0 degrees), you'll need something better. Depending on the software you use, there might be some algorithm for those fits, or you can modify the fit to consider both options (and to take the one with the smaller deviation).
     
  4. Nov 20, 2014 #3

    Stephen Tashi

    User Avatar
    Science Advisor

    I'd think that a natural measure for the "distance" between two functions with the same period and a different phase would be the root mean square strength (per period) of the signal that is given by the difference of the two functions.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Regression Analysis of Tidal Phases
  1. Regression analysis? (Replies: 11)

Loading...