    0

# What do you do when you have a double median?

Updated: 9/21/2023 Wiki User

11y ago

When you have a double median you have to:

add the two middle numbers (medians)

than divide it by two:)

hope that helps!! Wiki User

11y ago   Earn +20 pts
Q: What do you do when you have a double median?
Submit
Still have questions?  Related questions

### What is the median of 1 3 5 9 10?

The median is 5.The median is 5.The median is 5.The median is 5.

### What is the median of the set of numbers 2 41 33 24 38 6 28 14 29?

The median is 28.The median is 28.The median is 28.The median is 28.

### C plus plus program using function median that take three parameters of type double and returns the median of the three?

There are several ways to implement this, however the basic principal is to sort the doubles in ascending order and return the middle element (in this case the 2nd element). The simplest implementation uses a 3-element array which is then sorted using an insertion sort, as shown in the following example. #include&lt;iostream&gt; #include&lt;list&gt; double median(double&amp; x, double&amp; y, double&amp; z) { // initialise the array double a = { x, y, z }; // sort the array for(int i=1; i&lt;3; ++i) { int hole=i; int prev=hole-1; double cur=a[hole]; while(hole &amp;&amp; cur&lt;a[prev]) { a[hole]=a[prev]; --hole, --prev; } a[hole]=cur; } // return the middle element. return( a ); } int main() { using namespace std; double a, b, c; a = 0.9; b = 0.1; c = 0.5; cout&lt;&lt;"a="&lt;&lt;a&lt;&lt;endl; cout&lt;&lt;"b="&lt;&lt;b&lt;&lt;endl; cout&lt;&lt;"c="&lt;&lt;c&lt;&lt;endl; cout&lt;&lt;"median="&lt;&lt;median(a,b,c)&lt;&lt;endl; return(0); } Output: a=0.9 b=0.1 c=0.5 median=0.5 It should be noted that when dealing with an even number of elements (such as 4 or 6), then there is no middle element, so you therefore need take the mean of the two middle elements instead. So if the sorted numbers are 0.1, 0.2, 0.5 and 0.9, then the median is the mean of 0.2 and 0.5, which is 0.35 (e.g., ( 0.2 + 0.5 ) / 2).

### What is an ouutlier effect on the median?

An outlier pulls the median towards it. For example 1,2,3 Median=2 1,2,3,7 Median=2.5

### Is Median an outlier?

No, median is not an outlier.

The median is 1.

The median is 6

### What is the median of 59?

it doesnt have a median.

### What is the median of 25343123222628 and 35?

The median of 2 numbers is the same as their mean.So, median = (25343123222628 + 35)/2 = 12,671,561,611,331.5The median of 2 numbers is the same as their mean.So, median = (25343123222628 + 35)/2 = 12,671,561,611,331.5The median of 2 numbers is the same as their mean.So, median = (25343123222628 + 35)/2 = 12,671,561,611,331.5The median of 2 numbers is the same as their mean.So, median = (25343123222628 + 35)/2 = 12,671,561,611,331.5

### How do mean deviation from median?

The mean deviation from the median is equal to the mean minus the median.