Re: [R] Trouble with parameter estimation in nonlinear regression model

2016-10-04 Thread Adams, Jean
Syela, If you want to constrain parameter "a" to be positive, you can rewrite the equation replacing "a" with "exp(theta)". Then when you get the estimate for "theta", simply convert it back to "a". Jean On Mon, Oct 3, 2016 at 12:23 PM, Syela Mohd Noor wrote: > Hi all, I had a problem with th

Re: [R] Trouble with parameter estimation in nonlinear regression model

2016-10-03 Thread Jim Lemon
Hi Syela, Are the values in ASFR monotonically increasing with year? Jim On Tue, Oct 4, 2016 at 4:23 AM, Syela Mohd Noor wrote: > Hi all, I had a problem with the parameter estimation of the Brass Gompertz > model for my dissertation. I run the code for several times based on > different years

[R] Trouble with parameter estimation in nonlinear regression model

2016-10-03 Thread Syela Mohd Noor
Hi all, I had a problem with the parameter estimation of the Brass Gompertz model for my dissertation. I run the code for several times based on different years and it was fine until the seventh year onward where I got negative values for the parameter (a) which did not make sense since it represen