[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: RE: RE: non linear regression
You need to write your own driver program
-sin()- and -cos()- are built-in functions.
> I have found the family of -nl- commands but I did not found
> any option
> for formulating sin cos functions
> Try the help/manual for -nl-
> 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
> 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?
* For searches and help try: