Question: How can I find how Statistics:-Mean is coded?

I'd like to know the details of the method Statistics:-Mean uses to numerically estimate the expectation of a random variable.

showstat seems of no use and neither seems to be LibraryTools[Browse]();

Here are two examples: the first one (1D) suggests  Statistics:-Mean could use some evalf/Int method, but the conclusion to draw from the second example (R2 --> R) is less clear.

How_does_Mean_proceed.mw

Thanks in advance

PS: I already asked a similar question months ago but didn't get any reply.
       Even answers such as “We don't know” or “We don't care” would suit me better than their absence.

Please Wait...