On Mon, 15 Nov 2010, Lee Adkins wrote:
Hmmmm ... I think what I may do is create the coefficient matrices R,
the linear combination Rb-r and just use the matrix language to compute the
restricted least squares estimator. Given that I'm going to try a simple
simulation for it I'm thinking the writing and reading to files would slow
things down a lot.
Yes, that makes sense. However, available for testing: in CVS and
snapshots I've now enabled the --full option to the "restrict"
command for single-equation OLS.
ols 1 0 2 3 4
b3 - b4 = 0
end restrict --full
matrix b = $coeff
Append --quiet (or --silent) if you're not interested in the
printout of the restricted estimates.