Re: fitting simultaneously multiple data set
- From: "peter normile" <peter_normile@xxxxxxxxxxx>
- Date: Sun, 18 Dec 2005 08:52:34 -0500
John D'Errico wrote:
>
>
> In article <ef1eb3a.-1@xxxxxxxxxxxxxxxx>,
> "peter normile" <peter_normile@xxxxxxxxxxx> wrote:
>
>> I have two data sets which I want to fit to the same functional
> form,
>> with certain parameters the same for both fits, and others
> differing.
>> e.g.,
>>
>> data set 1, y1(x1)
>> data set 2, y2(x2)
>>
>> fit to y1 is f1(x1,p1), p1 is parameter vector
>> fit to y2 is f2(x2,p2), p2 is parameter vector
>>
>> p1 = [p1(1) p1(2) p1(3) p1(4) p1(5)]
>> p2 = [p2(1) p2(2) p2(3) p2(4) p2(5)]
>>
>> and p2(2) = p1(2), p2(3) = p1(3)
>>
>> Total of number of parameters to fit = 8
>>
>> Can anyone point in the right direction?
>
>
> No problem. Merge the two into one larger least
> squares problem, with some parameters used for
> both problems and some parameters only needed for
> one of the segments.
>
> HTH,
> John D'Errico
>
>
> --
> The best material model of a cat is another, or preferably the
> same, cat.
> A. Rosenblueth, Philosophy of Science, 1945
>
> Those who can't laugh at themselves leave the job to others.
> Anonymous
>
Many thanks, this worked!
peter
.
- References:
- fitting simultaneously multiple data set
- From: peter normile
- Re: fitting simultaneously multiple data set
- From: John D'Errico
- fitting simultaneously multiple data set
- Prev by Date: Re: GUIs and sub-GUIs
- Next by Date: Re: how to locate common values between two cell a
- Previous by thread: Re: fitting simultaneously multiple data set
- Next by thread: Minimization with parameters
- Index(es):
Relevant Pages
|