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
_______________________________________________
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/

Reply via email to