/* ** Lesson 3.5: Structural Change */ use gpe2; output file = gpe\output3.5 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); @ whole sample @ _begin = 1; @ sub-sample: 1929-1948 @ _end = 20; call estimate(X,L~K); _begin = 21; @ sub-sample: 1949-1967 @ _end = 39; call estimate(X,L~K); end;