Services & Resources / Wolfram Forums / MathGroup Archive
-----

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] [mg127187] NonlinearModelFit to multiple data sets simultaneously?
  • From: dantimatter <google at dantimatter.com>
  • Date: Thu, 5 Jul 2012 06:16:45 -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: how to export to Excel in Mathematica from a Parametricplot command
  • Next by Date: Re: how to export to Excel in Mathematica from a Parametricplot command
  • Previous by thread: NonlinearModelFit to multiple data sets simultaneously?
  • Next by thread: Re: NonlinearModelFit to multiple data sets simultaneously?