mean the meanas you probably knowis just another name for the average to calculate the mean of datasetall you have to do is sum up all the values and divide it by the number of values that you have sum of samples/number of samples let' take this examplewhich calculates the mean (averagenumber of children per house in my neighborhood let' say went door-to-door in my neighborhood and asked everyonehow many children live in their household (thatby the wayis good example of discrete numerical dataremember from the previous section?let' say go around and found out that the first house has no kids in itand the second house has two childrenand the third household has three childrenand so on and so forth amassed this little dataset of discrete numerical dataand to figure out the meanall do is add them all together and divide it by the number of houses that went to number of children in each house on my street the mean is ( + + + + + + + + )/ it comes out as plus plus plus all the rest of these numbers divided by the total number of houses that looked atwhich is and the mean number of children per house in my sample is sothere you have itmean median median is little bit different the way you compute the median of the dataset is by sorting all the values (in either ascending or descending order)and taking the one that ends up in the middle sofor examplelet' use the same dataset of children in my neighborhood would sort it numericallyand can take the number that' slap dab in the middle of the datawhich turns out to be