Object Reference : Object View and Procedure Reference : Equation
  
 
equation
Declare an equation object.
Syntax
equation eq_name
equation eq_name.method(options) specification
Follow the equation keyword with a name and an optional specification. If you wish to enter the specification, you should follow the new equation name with a period, an estimation method, and the equation specification. Valid estimation methods are given in “Equation Methods”. Refer to each method for a description of the available options.
Examples
equation cobdoug.ls log(y) c log(k) log(l)
declares and estimates an equation object named COBDOUG.
equation ces.ls log(y)=c(1)*log(k^c(2)+l^c(3))
declares an equation object named CES containing a nonlinear least squares specification.
equation demand.tsls q c p x @ x p(-1) gov
creates an equation object named DEMAND and estimates DEMAND using two-stage least squares with instruments X, lagged P, and GOV.
Cross-references
“Basic Regression Analysis” provides basic information on estimation and equation objects.