Grocer Function

NAME

exploeqs - Transformation of 2sls or 3sls equations

CALLING SEQUENCE

[xall,lx1,ly1,endoeq,nameinst,lindx1,lindy1]=exploeqs(neqs,lexo,endo,z,namez)

PARAMETERS

Input

Output

DESCRIPTION

Retrieves from the equations the list of endogenous, exogenous and instruments for a Two-Stage or Three-Stage Least-squares Regression.

EXAMPLE

[xall,lx1,ly1,endoeq,nameinst,lindx1,lindy1]=exploeqs(grocer_neqs,grocer_lexo,grocer_endo,grocer_z,grocer_namez)

This examples is taken from twosls.

AUTHOR

Eric Dubois 2002