Tag Archives: least squares

Find a least squares Weibull curve fit for a set of points in C#

Not long ago, a client wanted to fit a set of data points to a Weibull curve of the form: The earlier example Find an exponential least squares fit for a set of points in C# explains how to find … Continue reading

Posted in algorithms, curve fitting, graphics, mathematics | Tagged , , , , , , , , , , , , | Leave a comment

Find an exponential least squares fit for a set of points in C#

This example shows how to use exponential least squares to find an exponential equation that fits a set of data points. The following examples show how to fit a set of points that lie along a line or polynomial equation: … Continue reading

Posted in algorithms, curve fitting, graphics, mathematics | Tagged , , , , , , , , , , | Leave a comment

Find a polynomial least squares fit for a set of points in C#

This example shows how to make a polynomial least squares fit to a set of data points. It’s kind of confusing, but you can get through it if you take it one step at a time. The example Find a … Continue reading

Posted in algorithms, curve fitting, graphics, mathematics | Tagged , , , , , , , , , , | 3 Comments

Find a linear least squares fit for a set of points in C#

This example shows how you can make a linear least squares fit to a set of data points. Suppose you have a set of data points that you believe were generated by a process that should ideally be linear. In … Continue reading

Posted in algorithms, curve fitting, graphics, mathematics | Tagged , , , , , , , , , , | 5 Comments