comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Logistic model in COMFIT function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Logistic model in COMFIT function [message #93810] Tue, 25 October 2016 13:37 Go to next message
bedroom330 is currently offline  bedroom330
Messages: 1
Registered: October 2016
Junior Member
Hi,

I am currently using the logistic model in COMFIT. The results are good; however, when I read the equation IDL uses for logistic model, I got confused. The equation is: y=1/(a0a1^x+a2). I can not understand why a0 and a1 are necessary? They can be combined as one empirical parameter. How does each of the empirical parameter work in this IDL function?

If you can provide any thought, I will greatly appreciate.

Thank you.

Sincerely,
Nick
Re: Logistic model in COMFIT function [message #93813 is a reply to message #93810] Wed, 26 October 2016 07:24 Go to previous messageGo to next message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
On Tuesday, 25 October 2016 13:37:22 UTC-7, bedro...@gmail.com wrote:
> Hi,
>
> I am currently using the logistic model in COMFIT. The results are good; however, when I read the equation IDL uses for logistic model, I got confused. The equation is: y=1/(a0a1^x+a2). I can not understand why a0 and a1 are necessary? They can be combined as one empirical parameter. How does each of the empirical parameter work in this IDL function?
>
> If you can provide any thought, I will greatly appreciate.
>
> Thank you.
>
> Sincerely,
> Nick

Hi Nick,

To make that equation clearer, to show the order of operations when it is evaluated (exponents before multiplication), it could be written as:

y = 1 / ( ( a0 * (a1^x) ) + a2 )

Does that help to show how a0 and a1 are quite distinct?

Cheers,
-Dick

Dick Jackson Software Consulting Inc.
Victoria, BC, Canada --- http://www.d-jackson.com
Re: Logistic model in COMFIT function [message #93814 is a reply to message #93810] Wed, 26 October 2016 07:28 Go to previous message
dcleuclidwl is currently offline  dcleuclidwl
Messages: 6
Registered: July 2016
Junior Member
Perhaps your confusion comes from not taking into account that exponents take precedence over multiplication?

So y=1/(a0a1^x+a2) is the same as y = 1/(a0*(a1^x) + a2)


On Tuesday, October 25, 2016 at 4:37:22 PM UTC-4, bedro...@gmail.com wrote:
> Hi,
>
> I am currently using the logistic model in COMFIT. The results are good; however, when I read the equation IDL uses for logistic model, I got confused. The equation is: y=1/(a0a1^x+a2). I can not understand why a0 and a1 are necessary? They can be combined as one empirical parameter. How does each of the empirical parameter work in this IDL function?
>
> If you can provide any thought, I will greatly appreciate.
>
> Thank you.
>
> Sincerely,
> Nick
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: for loop problem for beginner
Next Topic: Smoothing Spline -- any existing efficient routines?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 07:16:22 PDT 2025

Total time taken to generate the page: 0.00418 seconds