Lisrel Regression Example

Below is an example of how to do a simple regression drawn from the LISREL manual. In the example, GNP in billions of dollars is regressed on labor inputs in millions of man years, real capital in billions, and time in years since 1928.

The following data is saved to a file called "ex41.raw":

142 47  54  1
127 43  59  2
118 39  57  3
 98 34  48  4
 94 34  36  5
102 36  24  6
116 38  19  7
128 41  18  8
140 42  22  9
131 37  24 10
143 40  23 11
157 42  27 12
182 47  36 13
209 51   9 18
214 53  25 19
225 53  39 20
221 50  51 21
243 52  62 22
257 54  75 23
265 54  94 24
276 55 108 25
271 52 118 26
291 54 124 27

A command file is created containing the following commands:

regression of gnp
da ni=4 no=0
la
gnp labor capital time
ra fi=ex41.raw
mo ny=1 nx=3
ou

The data and command file should be saved to separate files and then executed (Running Lisrel) to perform the analysis.