* Reference: Chapter 14 of * R. Carter Hill, William E. Griffiths and George G. Judge, * Undergraduate Econometrics, Second Edition, Wiley. SAMPLE 1 30 READ (TAB14-1.shd) / NAMES * 2SLS Estimation for Demand (Table 14.3a, page 316) 2SLS Q P PS DI (PS PF DI) * 2SLS Estimation for Supply (Table 14.3b, page 316) 2SLS Q P PF (PS PF DI) * An equivalent approach is to use the SYSTEM command. * The option ITER=0 specifies estimation by 2SLS. * The DN option uses a divisor of N for calculating the error * variances. Therefore, the standard errors will be different * from the previous estimations. SYSTEM 2 PS PF DI / ITER=0 DN OLS Q P PS DI OLS Q P PF END * Allow for cross-equation error correlation and use 3SLS estimation. SYSTEM 2 PS PF DI / DN OLS Q P PS DI OLS Q P PF END STOP