Category Archives: curve fitting

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

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 | | Comments Off on Find an exponential least squares fit for a set of points in C#

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

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

A plea for help: Tell me what you want to see in my blog!

I get remarkably little feedback from my blog. I track post views and know that I have 857 Twitter followers, but people rarely let me know if they particularly like or dislike a post. That makes it hard for me … Continue reading