MathGroup Archive 2012

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

Search the Archive

NonlinearModelFit to multiple data sets simultaneously?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127187] NonlinearModelFit to multiple data sets simultaneously?
  • From: dantimatter <google at dantimatter.com>
  • Date: Wed, 4 Jul 2012 03:35:42 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Hello All,
I'd like to fit the following model to time series data I've collected:

- ArcTan[( Sqrt[K1/K2] (t0 - t) ) / Sqrt[K1*K2]

where K1, K2, and t0 are unknown parameters.  Currently I'm using NonlinearModelFit to independently extract each of these parameters from five different datasets, even though the only parameter expected to change between the datasets is K1.  Is there a way to NonlinearModelFit to all the data at once to find the single values of t0 and K2 that give best fit to all, while still allowing K1 to 'float'?

Thanks!



  • Prev by Date: Re: Evaluate code fragment without making new cell for it?
  • Next by Date: Re: how to export to Excel in Mathematica from a Parametricplot command
  • Previous by thread: Re: Modifying an entry in array specified by a list of arbitrary length
  • Next by thread: NonlinearModelFit to multiple data sets simultaneously?