MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Why is FindFit so slow with RegularizedBeta?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80698] Why is FindFit so slow with RegularizedBeta?
  • From: Yaroslav Bulatov <yaroslavvb at gmail.com>
  • Date: Wed, 29 Aug 2007 04:17:25 -0400 (EDT)

data2 = {{0, 0}, {0.005508646549712282`,
   0.24025544035484173`}, {0.0071667362823842895`,
   0.45698565257787205`}, {0.008671448772390455`,
   0.6855975985691704`}, {0.010494297126023733`,
0.9226547829206518`}}
FindFit[data2, {BetaRegularized[x, a, b], a > 1 && b > 1}, {a, b},
  x] // Timing

It takes half a second for 5 datapoints, and seems to grow in linear
proportion to the size of data, so for full dataset it takes more than
couple of minutes. On other hand if I fit some other function like Erf
in it's place, it takes seconds.

Full dataset
http://yaroslavvb.com/research/ideas/hmms/slow-beta/slow-beta.nb



  • Prev by Date: Re: Question on PrincipalValue in Integrate
  • Next by Date: Re: Questions on AstronomicalData
  • Previous by thread: Developer Summit October 9th 2007
  • Next by thread: Packages's guide in Docum.Center Mathematica 6