I have found the family of -nl- commands but I did not found any option
for formulating sin cos functions
rune
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of David
Harrison
Sent: 24. februar 2005 13:44
To: statalist@hsphsun2.harvard.edu
Subject: st: RE: non linear regression
Try the help/manual for -nl-
David
-----Original Message-----
From: Rune Logstein [mailto:Rune.Logstein@nfh.uit.no]
Sent: 24 February 2005 12:40
To: statalist@hsphsun2.harvard.edu
Subject: st: non linear regression
Members of statalist:
In my econometric project I intend to estimate a model with
nonlinearities. The model could be:
lnC = A+a*sin(b*x)+B*cos(d*x) +k*lnE+g*lnS,
where A, a, b, B, d, k and g are parameters to be estimated. C and x, E
and S are variables. (the meaning of the sign " * ", means d multiplied
by x).
The interesting thing with this model is the nonlinear trigonometric
part of the model. Does anyone know how to formulate/programme such a
nonlinear function in stata?
Rune Logstein
Phd student
Norway.
*
* 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/
*
* 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/