Regression Analysis of Tidal Phases

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:
Physics news 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).
 
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.
 
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...

Similar threads

Replies
30
Views
4K
Replies
1
Views
2K
Replies
8
Views
2K
Replies
6
Views
3K
Replies
13
Views
2K
Replies
4
Views
2K
Replies
2
Views
1K
Replies
7
Views
2K
Back
Top