Regression Analysis of Tidal Phases

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
edge333
Messages
14
Reaction score
0
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:
on Phys.org
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).