This project has moved. For the latest updates, please go here.

Using MaximumLikelihoodFit

Dec 20, 2011 at 12: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)

dat.Add(aryData(i).dat1)

Next

 

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)