I need to be able to find outliers in my data. I thought it best to test for this using the Kolmogorov-Smirnov Test.
I have over 800,000 points so I wanted a way to filter the data first to only test those that are on the edge of my sample. By eye I can fit an exponential decay (red line) but I was wondering if there was a statistical way to determine the parameters for my exponential.