Median

  • Statistical simulation of the Median with R-Project

    > x <- c(rep(47,1),rep(48,3),rep(49,2),rep(50,8),rep(51,3),rep(52,2)
    ,rep(53,1));
    
    > Median(x)
    [1] 50
    



  • Statistical simulation of the Median with Mathematica

    x := Join[ConstantArray[47, 1], ConstantArray[48, 3], 
       ConstantArray[49, 2], ConstantArray[50, 8], ConstantArray[51, 3], 
       ConstantArray[52, 2], ConstantArray[53, 1]];
       
    Median[x]
    
    50