Thread Subject: Non-linear regression help.

Subject: Non-linear regression help.

From: Akand Islam

Date: 14 Feb, 2011 02:31:03

Message: 1 of 3

Hello all,
I want to do non-linear regression by fitting the model (let say, y = a1*x+b1*x^2+c1*x^3/exp(d1*x^4)) where the parameter (say "c1") must be in between (0 to 1), and others can be of any values. How can I perform my job?

Thanks in advance?

-- Akand

Subject: Non-linear regression help.

From: Miroslav Balda

Date: 14 Feb, 2011 07:15:05

Message: 2 of 3

"Akand Islam" <awislam@crimson.ua.edu> wrote in message <ija457$ppe$1@fred.mathworks.com>...
> Hello all,
> I want to do non-linear regression by fitting the model (let say, y = a1*x+b1*x^2+c1*x^3/exp(d1*x^4)) where the parameter (say "c1") must be in between (0 to 1), and others can be of any values. How can I perform my job?
>
> Thanks in advance?
>
> -- Akand

Hi Akand,
Look at FEX, where the function LMFnlsq solves a similar problem.
Mira

Subject: Non-linear regression help.

From: Akand Islam

Date: 14 Feb, 2011 14:52:03

Message: 3 of 3

"Miroslav Balda" wrote in message <ijakpp$bvp$1@fred.mathworks.com>...
> "Akand Islam" <awislam@crimson.ua.edu> wrote in message <ija457$ppe$1@fred.mathworks.com>...
> > Hello all,
> > I want to do non-linear regression by fitting the model (let say, y = a1*x+b1*x^2+c1*x^3/exp(d1*x^4)) where the parameter (say "c1") must be in between (0 to 1), and others can be of any values. How can I perform my job?
> >
> > Thanks in advance?
> >
> > -- Akand
>
> Hi Akand,
> Look at FEX, where the function LMFnlsq solves a similar problem.
> Mira


Dear Miroslav Balda,
Thanks for response. So far I understand, I have to make a function file , and then calling the "LMFnlsq" with initial guesses like other optimization tools. However where I will specify that certain parameter will be in certain limit? Can you please show me how I will call "LMFnlsq" with my specification.

Thanks again.

-- Akand

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com