I want to compute the mean of a list while ignoring missing values, but I don't find a lot of information on how to deal with Missing data in Mathematica.
I have a list like :
a = {{{0, 1}, {2, Na}} , {{0, 3}, {2, 5}}}
and I want to compute the mean but ignoring the Na values. So my output would be:
a = {{0, 2}, {2, 5}}
How can I do that? Thanks.

{{{0, 1}, {2, Na}} , {{0, 3}, {2, Na}}}? – belisarius Jan 8 at 17:27ais a list of two elements and the first element contains anNa. Thus, "ignoring theNavalues," its mean equals its second element,{{0,3}, {2,5}}. The example, though, suggests--inconclusively--that this list is supposed to be thought of as a list of ordered pairs (each of which is a list of two elements) and that the means should be obtained independently for each component. That's why we need more information in order to answer this question objectively. – whuber Jan 8 at 18:19