The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Nonlinear regression using ln function

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
RibeiroS Posted - 04/14/2017 : 12:26:08 PM
Hello guys,

I´m trying to make a nonlinear regression analysis with a user defined function as " y= a* (1- (x / b)) - c* ( b - x + ( x* ln( x / b)) " (in expression option) and when i perform the quick check, this message appears "y = -- (Undefined variable: LN( X / B)". Is there anything i can do to correct this?
Thank you for your help!

Best regards!
4   L A T E S T    R E P L I E S    (Newest First)
RibeiroS Posted - 04/17/2017 : 5:32:14 PM
Dear Aviel,

It worked! Thank you very much! The reason was a parentheses that was missing in the last part of the expression.
Thanks for the time you spent on this.

Best regards

Sara
arstern Posted - 04/17/2017 : 09:20:45 AM
Hi Sara,

When I input your parameters and equation into the fitting function builder, a y value is produced from the quick check. See image below. Could you please reply with a screen shot of your fitting function builder (maybe of all three steps).



Thanks,

Aviel Stern
OriginLab
RibeiroS Posted - 04/14/2017 : 8:00:25 PM
Hi Aviel,

Thank you very much for the answer. In this case a only wrote a,b,c in the "parameters", once i want all of them to be fitted. After i changed the initial values, quick test and appears this message. I don´t know if i need to defined something more as it seems the problem is in the ln function.
Thank you once again!

Best

Sara
arstern Posted - 04/14/2017 : 3:20:20 PM
Hi,

The y = -- (undefined variable) message can appear when you don't input all your parameters and variables correctly. I would recommend checking this first. How did you set up your a,b,c variables?

Below is a link to a tutorial on nonlinear fitting curves:
http://www.originlab.com/doc/Tutorials/UserDef-FitFunc

Thanks,
Aviel Stern
OriginLab

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000