{ "query": { "display": "median $$3,\\:5,\\:2,\\:1,\\:4$$", "symbolab_question": "STATISTICS#median 3,5,2,1,4" }, "solution": { "level": "PERFORMED", "subject": "Statistics", "topic": "median", "subTopic": "Other", "default": "3" }, "steps": { "type": "interim", "title": "Median of $$3,\\:5,\\:2,\\:1,\\:4:{\\quad}3$$", "steps": [ { "type": "definition", "title": "Median", "text": "The median is the value separating the higher half of the data set, from the lower half.<br/>If the number of terms is odd, then the median is the middle element of the sorted set<br/>If the number of terms is even, then the median is the arithmetic mean of the two middle elements of the sorted set" }, { "type": "step", "primary": "Arrange the terms in ascending order", "result": "1,\\:2,\\:3,\\:4,\\:5" }, { "type": "interim", "title": "Find the median of the ascending set:$${\\quad}3$$", "steps": [ { "type": "step", "primary": "Count the number of terms in the data set", "result": "\\begin{Bmatrix}1&2&3&4&5\\\\1&2&3&4&5\\end{Bmatrix}" }, { "type": "step", "primary": "The number of terms in the data set is", "result": "5" }, { "type": "step", "primary": "Since the number of terms is odd, the median is the middle element of the sorted set.", "result": "3" } ], "meta": { "interimType": "Get Median From Ascending List 0Eq" } }, { "type": "step", "result": "3" } ] } }