Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
TitleFind a least squares Weibull curve fit for a set of points in Visual Basic 6
DescriptionThis example shows how to find a least squares Weibull curve fit for a set of points in Visual Basic 6.
Keywordsmathematics, algorithms, graphics, curve fitting, least squares, Weibull, Weibull curve fit, Weibull least squares, Visual Basic 6, VB 6
CategoriesAlgorithms, Algorithms, Graphics, Graphics
 

Not long ago, a client wanted to fit sets of data points to Weibull curves of the form:

F(x) = a - b * e^(-c*x^d)

The earlier example Find an exponential least squares fit for a set of points in Visual Basic 6 explains how to find a least squares fit for exponential data. This example uses a similar technique with the following differences:

  • This example uses a different function F, error function E, and partial derivatives
  • This example's functions have 4 parameters a, b, c, and d instead of just 3
  • The ranges for test values of a, b, c, and d are different so they fit the data better

See the earlier example for an explanation of how this technique works.

For more information on classical Weibull functions, see:

 
 
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated