Skip to content
Prev 314169 / 398506 Next

Error message "cs_lu(A) failed: near-singular A (or out of memory)"

Dear Rui

If you impose the homogeneity (adding-up) restrictions, your system
becomes singular, because the error terms of the share equations
always sum up to zero. Therefore, you can arbitrarily delete one of
the share equations and obtain the coefficients that were not directly
estimated by the homogeneity restrictions. Furthermore, you can impose
the homogeneity restriction at each single equation by normalization
with one input price (num?raire). Finally, I suggest to impose the
cross-equation restrictions by the argument "restrict.regMat" rather
than by argument "restrict.matrix", because the documentation says
"the advantage of imposing restrictions on the coefficients by
'restrict.regMat' is that the matrix, which has to be inverted during
the estimation, gets smaller by this procedure, while it gets larger
if the restrictions are imposed by 'restrict.matrix' and
'restrict.rhs'." I will send you my lecture notes on econometric
production analysis with R by private mail. Please do not forget to
cite R and the R packages that you use in your publications. If you
have further questions regarding system estimation, microeconomic
analysis, or stochastic frontier (efficiency) analysis with R, you can
use a forum at the R-Forge sites of the systemfit [1,2], micEcon
[3,4], or frontier [5] packages/projects, respectively.

[1] http://www.systemfit.org/
[2] http://r-forge.r-project.org/projects/systemfit/
[3] http://www.micEcon.org/
[4] http://r-forge.r-project.org/projects/micecon/
[5] http://r-forge.r-project.org/projects/frontier/

Best (holiday) wishes from Copenhagen,
Arne
On 9 December 2012 23:31, Rui Neiva <ruiqneiva at gmail.com> wrote: