# Picostat Output - Median

## Computing the Median

To compute the median, we must first list all the sorted observations in column X.size. like this:

3.61, 3.65, 3.89, 3.93, 3.93, 4.13, 4.15, 4.15, 4.18, 4.22, 4.3, 4.3, 4.36, 4.39, 4.41, 4.43, 4.45, 4.47, 4.47, 4.49, 4.51, 4.52, 4.52, 4.57, 4.59, 4.63, 4.64, 4.64, 4.64, 4.65, 4.65, 4.66, 4.68, 4.69, 4.7, 4.72, 4.72, 4.73, 4.74, 4.74, 4.74, 4.76, 4.76, 4.77, 4.8, 4.82, 4.84, 4.93, 4.93, 4.93, 4.94, 4.94, 4.94, 4.96, 4.98, 5.01, 5.01, 5.01, 5.02, 5.05, 5.06, 5.06, 5.07, 5.07, 5.08, 5.08, 5.08, 5.09, 5.1, 5.1, 5.11, 5.12, 5.12, 5.13, 5.13, 5.15, 5.16, 5.16, 5.18, 5.2, 5.2, 5.21, 5.21, 5.22, 5.22, 5.23, 5.23, 5.23, 5.24, 5.25, 5.25, 5.25, 5.25, 5.26, 5.26, 5.26, 5.26, 5.26, 5.27, 5.27, 5.27, 5.28, 5.28, 5.28, 5.28, 5.28, 5.3, 5.3, 5.32, 5.32, 5.33, 5.34, 5.34, 5.35, 5.35, 5.35, 5.35, 5.38, 5.38, 5.39, 5.4, 5.4, 5.41, 5.42, 5.43, 5.44, 5.44, 5.44, 5.45, 5.45, 5.45, 5.46, 5.46, 5.46, 5.46, 5.46, 5.47, 5.47, 5.48, 5.48, 5.48, 5.48, 5.48, 5.49, 5.49, 5.49, 5.49, 5.49, 5.5, 5.5, 5.5, 5.5, 5.51, 5.52, 5.53, 5.53, 5.53, 5.54, 5.54, 5.54, 5.55, 5.55, 5.55, 5.56, 5.56, 5.56, 5.57, 5.57, 5.57, 5.58, 5.58, 5.59, 5.59, 5.6, 5.6, 5.61, 5.61, 5.63, 5.63, 5.63, 5.64, 5.64, 5.65, 5.65, 5.65, 5.65, 5.65, 5.66, 5.67, 5.67, 5.67, 5.67, 5.68, 5.68, 5.68, 5.68, 5.69, 5.69, 5.69, 5.7, 5.7, 5.7, 5.7, 5.7, 5.7, 5.71, 5.71, 5.71, 5.72, 5.73, 5.73, 5.73, 5.73, 5.74, 5.74, 5.74, 5.74, 5.75, 5.76, 5.76, 5.76, 5.77, 5.77, 5.77, 5.77, 5.78, 5.78, 5.79, 5.79, 5.8, 5.8, 5.8, 5.8, 5.8, 5.81, 5.81, 5.82, 5.82, 5.82, 5.82, 5.83, 5.83, 5.83, 5.84, 5.84, 5.85, 5.85, 5.85, 5.85, 5.86, 5.87, 5.87, 5.88, 5.88, 5.89, 5.89, 5.89, 5.89, 5.9, 5.91, 5.93, 5.93, 5.93, 5.93, 5.93, 5.93, 5.93, 5.94, 5.94, 5.94, 5.95, 5.95, 5.95, 5.95, 5.95, 5.96, 5.96, 5.96, 5.96, 5.96, 5.97, 5.97, 5.97, 5.97, 5.97, 5.98, 5.98, 5.98, 5.98, 5.98, 5.99, 5.99, 5.99, 5.99, 6, 6.01, 6.01, 6.01, 6.01, 6.02, 6.02, 6.02, 6.02, 6.03, 6.03, 6.03, 6.03, 6.04, 6.04, 6.04, 6.05, 6.05, 6.05, 6.05, 6.05, 6.06, 6.06, 6.06, 6.07, 6.07, 6.07, 6.07, 6.08, 6.08, 6.08, 6.09, 6.09, 6.09, 6.09, 6.1, 6.1, 6.11, 6.11, 6.11, 6.12, 6.12, 6.12, 6.13, 6.13, 6.13, 6.13, 6.13, 6.14, 6.14, 6.14, 6.14, 6.14, 6.14, 6.14, 6.15, 6.15, 6.15, 6.16, 6.16, 6.16, 6.17, 6.17, 6.17, 6.17, 6.17, 6.17, 6.18, 6.18, 6.18, 6.18, 6.18, 6.19, 6.19, 6.2, 6.2, 6.2, 6.21, 6.21, 6.21, 6.21, 6.21, 6.22, 6.22, 6.22, 6.22, 6.24, 6.24, 6.24, 6.25, 6.25, 6.25, 6.25, 6.26, 6.26, 6.26, 6.26, 6.28, 6.28, 6.28, 6.29, 6.29, 6.29, 6.3, 6.3, 6.32, 6.32, 6.32, 6.32, 6.33, 6.33, 6.33, 6.33, 6.33, 6.34, 6.34, 6.34, 6.34, 6.34, 6.34, 6.35, 6.36, 6.36, 6.36, 6.36, 6.37, 6.37, 6.37, 6.37, 6.37, 6.37, 6.38, 6.39, 6.39, 6.39, 6.39, 6.39, 6.39, 6.39, 6.4, 6.41, 6.41, 6.41, 6.42, 6.42, 6.42, 6.43, 6.43, 6.43, 6.44, 6.44, 6.44, 6.44, 6.44, 6.44, 6.44, 6.44, 6.44, 6.44, 6.44, 6.45, 6.45, 6.45, 6.46, 6.46, 6.46, 6.47, 6.47, 6.47, 6.48, 6.48, 6.48, 6.49, 6.49, 6.5, 6.5, 6.5, 6.51, 6.52, 6.52, 6.52, 6.53, 6.54, 6.55, 6.55, 6.55, 6.55, 6.55, 6.55, 6.56, 6.56, 6.57, 6.57, 6.57, 6.57, 6.58, 6.58, 6.58, 6.58, 6.59, 6.59, 6.6, 6.6, 6.61, 6.61, 6.61, 6.61, 6.61, 6.61, 6.61, 6.61, 6.62, 6.63, 6.63, 6.63, 6.63, 6.63, 6.63, 6.63, 6.64, 6.64, 6.64, 6.64, 6.65, 6.65, 6.65, 6.65, 6.65, 6.65, 6.66, 6.66, 6.66, 6.66, 6.66, 6.68, 6.68, 6.68, 6.69, 6.7, 6.7, 6.71, 6.72, 6.72, 6.72, 6.73, 6.73, 6.73, 6.74, 6.74, 6.74, 6.75, 6.75, 6.75, 6.76, 6.77, 6.77, 6.78, 6.78, 6.78, 6.79, 6.79, 6.8, 6.8, 6.81, 6.81, 6.81, 6.82, 6.82, 6.82, 6.82, 6.82, 6.82, 6.83, 6.83, 6.83, 6.83, 6.83, 6.83, 6.84, 6.86, 6.86, 6.86, 6.87, 6.87, 6.87, 6.87, 6.87, 6.87, 6.88, 6.88, 6.89, 6.89, 6.9, 6.9, 6.91, 6.91, 6.92, 6.92, 6.92, 6.93, 6.94, 6.94, 6.95, 6.95, 6.95, 6.96, 6.97, 6.99, 6.99, 7.01, 7.04, 7.04, 7.05, 7.05, 7.06, 7.09, 7.1, 7.11, 7.11, 7.11, 7.11, 7.13, 7.14, 7.14, 7.16, 7.17, 7.21, 7.24, 7.26, 7.28, 7.29, 7.3, 7.32, 7.35, 7.44, 7.46, 7.53, 7.56.

Next, we need to count the number of observations. In our case that is 632.

If the number of observations is odd, we add one and then divide by 2. This is the position of the median counting from the beginning.

If the number of observations is even, we then take average of the two middle numbers.

In our case, the number of observations is even so we need to take an average. We divide the number of observations by 2. That gives us 316. We then count 316 positions from the left. That number is 6.06. We then average 6.06 with the number immediately to the right which is 6.06. The average of these two numbers is the median, 6.06.

Description