Best fit MIN/MAX line through data.

  • Thread starter Thread starter Sean Powell
  • Start date Start date
  • Tags Tags
    Data Fit Line
Click For Summary
SUMMARY

The discussion focuses on establishing a best-fit MIN/MAX line through mechanical fatigue test data, which typically follows a logarithmic curve relating load to the number of fatigue cycles. The primary goal is to create a maximum acceptable load/cycle curve rather than a mean curve, utilizing techniques that ensure all data points are on or above the line. Current methods involve manually adjusting data points and slopes, but the user seeks an automated solution to handle increasing data volumes efficiently. Suggestions include using error calculations from mean curves and iterating through programming solutions to refine the fit.

PREREQUISITES
  • Understanding of logarithmic functions and their applications in data analysis
  • Familiarity with least squares regression techniques
  • Basic programming skills for automating data processing
  • Knowledge of confidence intervals and their statistical significance
NEXT STEPS
  • Research automated regression techniques for MIN/MAX trend lines
  • Explore programming libraries for statistical analysis, such as Python's NumPy and SciPy
  • Learn about confidence interval calculations and their implementation in data analysis
  • Investigate advanced data fitting methods, including robust regression techniques
USEFUL FOR

Data analysts, mechanical engineers, and researchers working with fatigue testing data who need to establish reliable predictive models for load and cycle relationships.

Sean Powell
Messages
7
Reaction score
0
Best fit MIN/MAX line through data.

Hello,

I’m working with mechanical fatigue test data. Generally this data falls in a logarithmic curve relating load to number of fatigue cycles. This data tends to be somewhat erratic so there need to be a lot of samples at multiple different loads to achieve anything resembling reasonable predictions.

With that said, the purpose of this fatigue data is to establish a maximum acceptable load/cycle curve rather then a mean load/cycle curve. All of the techniques I can find for establishing best-fit curves specifically work for establishing a mean curve through the center of the data. I want to establish a curve for the minimum least square error where all of the data points are on or ABOVE the line.

Presently I am doing this by re-distributing the data as load/log(10)cycles so I can work with a straight line, selecting a data point by hand, generating a line through this point parallel to the least square line, calculating the least square error and manually playing with the slope to see if this is reasonable. Then I need to reverse this line back into a Log(10) formula.

Every time the data changes I need to manually re-adjust everything. Even this is OK but I’m about to get hit with a LOT more data. Does anyone have a better automated way to do this? Are there any simple formulas for minimum or maximum trend lines? I’m out of college too long for this sort of stuff.

Thanks in advance,
Sean
 
Engineering news on Phys.org
Here's a quick idea that I have no idea will work or not. Do the same thing you've been doing creating a mean load/cycle curve. Then discard all points which lie on or below the line. For the rest of the points, subtract the mean from it to determine the "error", or how much it's above the mean.

Create a line of best fit through this error data, then add to two lines of best fit together.

edit: This will still leave some points above the max error line. However, if you are a decent programmer, you could write a program which keeps looping over this procedure until a point is reached where the max error is negligible.
 
Last edited:
You might look into "confidence intervals". They usually relate to levels like 95% (that is, the intervals that enclose 95% of occurences), but I don't see why you couldn't take some canned routine and set it to 100% instead.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
4K
Replies
6
Views
1K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
28
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
24
Views
3K