Skip to content
Prev 174951 / 398506 Next

intelligent optimizer (with domain restrictions?)

Hi,

Without knowing much about the problem, it is difficult to provide good advice.  Having said that, it seems like you are trying to solve a system of nonlinear equations by matching theoretical moments to their empirical counterparts.   You can do this by using a nonlinear equations solver such as dfsane() in the the package "BB" or nleqslv() in "nleqslv". 

It is not clear to me how you end up with a scalar objective function to minimize (do you consider the L2-norm of the residuals?).

Ravi.

____________________________________________________________________

Ravi Varadhan, Ph.D.
Assistant Professor,
Division of Geriatric Medicine and Gerontology
School of Medicine
Johns Hopkins University

Ph. (410) 502-2619
email: rvaradhan at jhmi.edu


----- Original Message -----
From: ivowel at gmail.com
Date: Wednesday, March 25, 2009 6:16 pm
Subject: [R] intelligent optimizer (with domain restrictions?)
To: r-help <r-help at stat.math.ethz.ch>