Determining Likelihood of Divergance

  • Thread starter Thread starter Aston08
  • Start date Start date
  • Tags Tags
    Likelihood
AI Thread Summary
The discussion focuses on improving the method for determining the directional trend of a signal line to reduce false signals. Current logic relies on comparing recent data points, but it struggles with sensitivity to minor fluctuations. A suggestion is made to use a median filter, which effectively removes noise from spikes while preserving the overall signal. The user expresses gratitude for this recommendation, indicating it aligns closely with their needs. The conversation highlights the importance of refining signal processing techniques to enhance accuracy in trend analysis.
Aston08
Messages
21
Reaction score
0
Currently utilizing very simple logic in determining the directional trend of a signal line, and was hoping someone might be able to offer a suggestion as to a more effective method of filtering false signals.

As it stands the logic being used for determining the direction of a trend is if the prior data point's (generally 1-2) value are less than the current bar it signals an up trend and vice versus. The issue I am having is the sensitivity of the logic is such that tiny spikes aren't being completely smoothed out by the moving average.

Any suggestions on what might be a more effective way to qualify the variation's likelihood for divergance? Possibly a minimum threshold for slope or percentage change?

MovingAverage.jpg


The areas of issue are those circled in red ... the sharp transitions like the type highlighted by the blue arrow are more valid.


I would greatly appreciate any suggestions
 
Physics news on Phys.org
Welcome to PF, Aston08! :smile:

I recommend using a median filter.
It's perfect for removing spiked noise without changing the signal.

It means replacing each point by the middle value of the point and its neighbours.
 
Thanks for the help ...that was just about what I was looking for.
 
You're welcome! :)

I see you have another thread that seems similar.
I did not respond since I simply did not understand what you were saying and what you were asking.

Can it be that the median filter also helps you with that thread?
 
I was basically asking what type of math the issue most likely applied to...didn't get any responses so I posted it written a little differently here on the physics board.
 
Thread 'Question about pressure of a liquid'
I am looking at pressure in liquids and I am testing my idea. The vertical tube is 100m, the contraption is filled with water. The vertical tube is very thin(maybe 1mm^2 cross section). The area of the base is ~100m^2. Will he top half be launched in the air if suddenly it cracked?- assuming its light enough. I want to test my idea that if I had a thin long ruber tube that I lifted up, then the pressure at "red lines" will be high and that the $force = pressure * area$ would be massive...
I feel it should be solvable we just need to find a perfect pattern, and there will be a general pattern since the forces acting are based on a single function, so..... you can't actually say it is unsolvable right? Cause imaging 3 bodies actually existed somwhere in this universe then nature isn't gonna wait till we predict it! And yea I have checked in many places that tiny changes cause large changes so it becomes chaos........ but still I just can't accept that it is impossible to solve...
Back
Top