* * Example 14.2, page 571 * Non-linear least squares * cal 1955 open data table14-3.prn data(format=prn,org=columns) 1955:1 1974:1 * nonlin b1 b2 b3 * * The default initial guesses are 0.0. That won't work well here, since b1=0 * wipes out the other two terms. * compute b1=1.0,b2=b3=0.5 frml cd = b1*labor**b2*capital**b3 nlls(frml=cd) gdp