/* ** Lesson 3.4: Production Function */ use gpe2; output file = gpe\output3.4 reset; load data[40,6] = gpe\cjx.txt; year = data[2:40,1]; X = ln(data[2:40,2]); L = ln(data[2:40,3]); K = ln(data[2:40,5]); call reset; _names = {"X","L","K"}; call estimate(X,L~K); _restr = {1 1 1}; call estimate(X,L~K); end;