The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Fitting multiple data sets to multiple functions with shared fit parameters
Replies: 1   Last Post: Jan 7, 2013 11:05 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Daniel Warren

Posts: 144
Registered: 5/16/07
Fitting multiple data sets to multiple functions with shared fit parameters
Posted: Jan 7, 2013 12:35 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I am a an experienced user of Mathematica and am used to fitting complex valued functions to data sets, but only one function at a time. I am attempting to determine the parameters in a model of a physical system (an acoustic transducer). From the model, I can determine several transfer functions over frequency or the Laplace s, and I can also measure these transfer functions on a device. This gives me, for example, three functions (which share parameters) and three data sets, and I want to find the parameters that fit all three functions to their respective data sets simultaneously. The parameters in the model are real, but the functions and data are complex. Another complication is that the data sets have different units and scales, so I will need to normalize things so \chi^2 on all curves are weighted equally.

Is there a way to directly use the built in FindFit or NonlinearModelFit to solve this problem? If not, can anyone suggest how I could construct my own method using NMinimize? I would be very grateful if the group could point me toward an example where this as been done.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.