Hi all,
I just would like to ask whether this behavior is actually expected:
<hansl>
matrix m = {1, NA; 2, 3}
print m
eval cum(m)
? print m
m (2 x 2)
1 nan
2 3
? eval cum(m)
1 nan
3 nan
</hansl>
I expected the entry (2,2) to be 3 as this is the first valid value of
the 2nd column.
The help does not say anything on how missing values are handled on the
function reference:
http://gretl.sourceforge.net/gretl-help/funcref.html#cum
Thanks,
Artur