Dear all listers
As I wrote yesterday, here is my script and part of my data (a sample of
500 households).
The following script does system estimation by ITSUR on two variables
home energy and motorfuel.
then I compute elasticities for each household. Initially i intended to
do it with matrix commands only. But as I encountered the problem i
resorted to saving the fitted values and using genr commands.
However, after these command the script computes those same elasticities
but with matrix commands.
So let ei = income elasticity for equation i
I have eih = 1 + beta[i] / what[i,h]
essentially i generate the vector of ones vecun = ones(500,1) then
compute b = beta[i] * (1/what[i,h]) to finally add them :
ei = vecun + b
but here gretl do not want to add those two vectors.
you can see it by yourself executing the script.
Notes :
1) i am under 1.7.1 just installed yesterday. The problem persists
2) in system estimation, the matrix accessors are a bit different. There
is an extra line & column in $vcv and $coeff but I do not remember what
it is exactly althrough it seems to be related to ML ?
greetings and see ya !
sincerly
Franck