How to calculate max/min scales on a scatter plot
-
I have 3 log scatter plots that I want to establish smooth maximum and minimum lines. What is the usual mathematical method to do that? (Image and Excel file links below.) The black lines on the scatter plot images are hand drawn. The third scatter plot is especially tricky and not amenable to a moving average plus stddev because of the data clumping. Note: This is time series data so new data constantly comes in. In other words, I cannot just use the whole data population in one shot. Any ideas would be greatly appreciated. Excel File: https://dl.dropboxusercontent.com/u/44057708/Three%20Scatters.xls Image at: https://dl.dropboxusercontent.com/u/44057708/ThreeScatters.jpg
-
Answer:
I don't know that there is a usual method to do this. If the data came all at once, I'd recommend quantile regression using a spline representation of time. But in your case, they do not. So, one relatively simple thing is a moving quantile. The $k$th smallest or largest of the last $K$ gives a first stab at this. The closer $k/K$ is to 0.5, the closer you are to the middle. The larger $k$ and $K$ are, the less this will fluctuate (including jumps, as aberrant points join or leave windows). The result won't look as smooth as your lines without more work, e.g. updating the moving quantile more smoothly with some weights.
expertalmost at Cross Validated Visit the source
Related Q & A:
- How To Calculate Approximate Expectation Of Function Of A Binomial Random Variable?Best solution by Mathematics
- How To Calculate The Value Of PI With A Program?Best solution by social.msdn.microsoft.com
- how to select max and min?Best solution by Stack Overflow
- How to move labels in a R plot?Best solution by stackoverflow.com
- How do you calculate the molar mass of a compound?Best solution by eHow old
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.