On Wed, 17 Aug 2016, Fernando Fernandes Neto wrote:
Hi there,
I'm having problems while trying to execute the following command sequence:
matrix Q_S = {1, 1; 1, 1}
scalar beta_p = 0.9
matrix Q = beta_p * Q_s
The output is this:
Warning: generated non-finite values
And, when I check the Q Matrix, I find "Nan" in all elements. The output
should be 0.9 in all elements...
Is this a bug? Or am I missing something?
The point to note here is that gretl is case-sensitive. So "Q_S" and
"Q_s" are the names of different objects (if they are the names of
objects at all).
In relation to the statements above, it's clear that beta_p * Q_S
should produce a 2 x 2 matrix all of whose elements equal 0.9. But
we don't know what beta_p * Q_s should produce, since we haven't
seen a definition of Q_s.
Allin Cottrell