Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Nonlinear equation


From   "Feiveson, Alan H. (JSC-SK311)" <[email protected]>
To   <[email protected]>
Subject   st: RE: Nonlinear equation
Date   Wed, 1 Feb 2006 08:31:55 -0600

Try 

-findit nonlinear equation-


there is an FAQ on this


AL Feiveson

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of cortega
Sent: Tuesday, January 31, 2006 9:47 AM
To: [email protected]
Subject: st: Nonlinear equation

I would like to solve the following nonlinear equation for each individual in my sample. 
�
0=X-be-(la/r)*(wespe*exp(0.5*wvari)*norm(ln(X)-ln(wespe)-wvari)/((wvari)^(0.5)))-(X)*norm((ln(X)-ln(wespe))/((wvari)^(0.5)))) 
�
where "X" is the parameter I want to obtain and "be", "la", "wespe", "wvari" are variables that vary across individuals. 
I have tried using the nl command. The problem is that I only have one observation per individual and it could not solve the equation. 
�
Thank you very much,
�
Carolina Ortega�
�

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index