Statalist The Stata Listserver


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

st: Nonlinear equation


From   "cortega" <[email protected]>
To   <[email protected]>
Subject   st: Nonlinear equation
Date   Tue, 31 Jan 2006 16:47:29 +0100

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/



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