Re: [R] solving system of equations involving non-linearities

2009-08-07 Thread Werner W.
Many thanks, BBsolve works like a charm. First I thought I should use the squares of the equations because BBsolve would use some minimization objective function anyway but it actually only works if I don't use the squared equations. I'll check the documentation if I find something about the

Re: [R] solving system of equations involving non-linearities

2009-08-07 Thread Ravi Varadhan
-boun...@r-project.org] On Behalf Of Werner W. Sent: Friday, August 07, 2009 2:43 AM To: r-help@r-project.org Subject: Re: [R] solving system of equations involving non-linearities Many thanks, BBsolve works like a charm. First I thought I should use the squares of the equations because BBsolve

[R] solving system of equations involving non-linearities

2009-08-06 Thread Werner Wernersen
Hi, I would appreciate if someone could help me on track with this problem. I want to compute some parameters from a system of equations given a number of sample observations. The system looks like this: sum_i( A+b_i0 A+b_iC+d_i) = x sum_i( C+d_i0 C+d_iA+b_i) = y sum_i( exp(E+f_i) * ( A+b_i0

Re: [R] solving system of equations involving non-linearities

2009-08-06 Thread Ravi Varadhan
Subject: [R] solving system of equations involving non-linearities To: r-h...@stat.math.ethz.ch Hi, I would appreciate if someone could help me on track with this problem. I want to compute some parameters from a system of equations given a number of sample observations. The system

Re: [R] solving system of equations involving non-linearities

2009-08-06 Thread Berend Hasselman
Ravi Varadhan wrote: You have two options: 1. The `BBsolve' function in the BB package to solve this system of 3 equations. 2. Try `nleqslv' function in the nleqslv package. These would work even if the residual is not zero. I hope so but I have some doubts. From the original