Averages/Arithmetic mean: Difference between revisions

task description: Improve formatting and add related tasks box
(Added XLISP)
(task description: Improve formatting and add related tasks box)
Line 1:
{{task|Probability and statistics}}
 
{{task heading}}
;Task:
 
Write a program to find the [[wp:arithmetic mean|mean]] (arithmetic average) of a numeric vector.
 
In case of a zero-length input, since the mean of an empty set of numbers is ill-defined, the program may choose to behave in any way it deems appropriate, though if the programming language has an established convention for conveying math errors or undefined values, it's preferable to follow it.
 
{{task heading|See also}}
 
{{Related tasks/Statistical measures}}
 
<br><brhr>
;Related tasks:
:* &nbsp; [[Median]]
:* &nbsp; [[Mode]]
<br><br>
 
=={{header|0815}}==
Anonymous user