This project has moved and is read-only. For the latest updates, please go here.

Using MaximumLikelihoodFit

Dec 20, 2011 at 1:50 AM

I am trying to do some curve fitting and am having trouble getting an IParameterizedDistribution to be declared.  Here is some of my Visual Basic Code:

Dim fit As FitResult

Dim dat As New  Sample


For i = 0 To UBound(aryData)




Dim iBetaDist As IParameterizedDistribution

= BetaDistribution(0.5, 0.5) [This statement gives an error that we cannot convert a beta distribution to an IParameterized distribution]

fit = dat.MaximumLikelihoodFit(iBetaDist)