Re: [R] solve nonlinear equation using BBsolve

2010-11-22 Thread Berend Hasselman
After my reply you sent me the following privately: > Thank you for your respond. Now I adjust the parameters which are close > to the value that I'm expected and it gives me the following message: I > tried a few combination. My question is why it said "Unsuccessful > convergence" but still

Re: [R] solve nonlinear equation using BBsolve

2010-11-20 Thread Berend Hasselman
Roslina Zakaria wrote: > > Hi r-users, > > I would like to solve system of nonlinear equation using BBsolve function > and > below is my code.  I have 4 parameters and I have 4 eqns. > > mgf_gammasum <- function(p) > { > t  <- rep(NA, length(p)) > mn <- 142.36 > vr <- 9335.69 > sk <- 0.813963

[R] solve nonlinear equation using BBsolve

2010-11-20 Thread Roslina Zakaria
Hi r-users, I would like to solve system of nonlinear equation using BBsolve function and below is my code.  I have 4 parameters and I have 4 eqns. mgf_gammasum <- function(p) { t  <- rep(NA, length(p)) mn <- 142.36 vr <- 9335.69 sk <- 0.8139635 kur <- 3.252591 rh  <- 0.896 # cumulants k1 <- p[1