|
Chapter Contents |
Previous |
Next |
| The CALIS Procedure |
The demand-and-supply food example of Kmenta (1971, pp. 565, 582) is used to illustrate the use of PROC CALIS for the estimation of intercepts and coefficients of simultaneous equations. The model is specified by two simultaneous equations containing two endogenous variables Q and P and three exogenous variables D, F, and Y,


The LINEQS statement requires that each endogenous variable appear on the left-hand side of exactly one equation. Instead of analyzing the system



You can estimate the intercepts of a system of simultaneous equations by applying PROC CALIS on the uncorrected covariance (UCOV) matrix of the data set that is augmented by an additional constant variable with the value 1. In the following example, the uncorrected covariance matrix is augmented by an additional variable INTERCEPT by using the AUGMENT option. The PROC CALIS statement contains the options UCOV and AUG to compute and analyze an augmented UCOV matrix from the input data set FOOD.
Data food;
Title 'Food example of KMENTA(1971, p.565 & 582)';
Input Q P D F Y;
Label Q='Food Consumption per Head'
P='Ratio of Food Prices to General Price'
D='Disposable Income in Constant Prices'
F='Ratio of Preceding Years Prices'
Y='Time in Years 1922-1941';
datalines;
98.485 100.323 87.4 98.0 1
99.187 104.264 97.6 99.1 2
102.163 103.435 96.7 99.1 3
101.504 104.506 98.2 98.1 4
104.240 98.001 99.8 110.8 5
103.243 99.456 100.5 108.2 6
103.993 101.066 103.2 105.6 7
99.900 104.763 107.8 109.8 8
100.350 96.446 96.6 108.7 9
102.820 91.228 88.9 100.6 10
95.435 93.085 75.1 81.0 11
92.424 98.801 76.9 68.6 12
94.535 102.908 84.6 70.9 13
98.757 98.756 90.6 81.4 14
105.797 95.119 103.1 102.3 15
100.225 98.451 105.1 105.0 16
103.522 86.498 96.4 110.5 17
99.929 104.016 104.4 92.5 18
105.223 105.769 110.7 89.3 19
106.232 113.490 127.1 93.0 20
;
proc calis ucov aug data=food pshort;
Title2 'Compute ML Estimates With Intercept';
Lineqs
Q = alf1 Intercept + alf2 P + alf3 D + E1,
P = gam1 Intercept + gam2 Q + gam3 F + gam4 Y + E2;
Std
E1-E2 = eps1-eps2;
Cov
E1-E2 = eps3;
Bounds
eps1-eps2 >= 0. ;
run;
The following, essentially equivalent model definition uses program code to reparameterize the model in terms of the original equations; the output is displayed in Output 17.2.1.
proc calis data=food ucov aug pshort;
Lineqs
Q = alphal Intercept + beta1 P + gamma1 D + E1,
P = alpha2_b Intercept + gamma2_b F + gamma3_b Y + _b Q + E2;
Std
E1-E2 = eps1-eps2;
Cov
E1-E2 = eps3;
Parameters alpha2 (50.) beta2 gamma2 gamma3 (3*.25);
alpha2_b = -alpha2 / beta2;
gamma2_b = -gamma2 / beta2;
gamma3_b = -gamma3 / beta2;
_b = 1 / beta2;
Bounds
eps1-eps2 >= 0. ;
RUN;
Output 17.2.1: Food Example of Kmenta|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.