function upperQuartil(arr) {
		var thirdQuarter = Math.floor(3*arr.length/4);

		if((3*arr.length) % 4)
			return arr[thirdQuarter];
		else
			return (arr[thirdQuarter-1] + arr[thirdQuarter])/2;
	}
// Returns the value for the upper Quartil
Returns the value for the upper Quartil
Returns the value for the upper Quartil
function upperQuartil(arr) {
		var thirdQuarter = Math.floor(3*arr.length/4);
		if((3*arr.length) % 4)
			return arr[thirdQuarter];
		else
			return (arr[thirdQuarter-1] + arr[thirdQuarter])/2;
	}
function upperQuartil ( arr ) { var thirdQuarter = Math . floor ( 3 * arr . length / 4 ) ; if ( ( 3 * arr . length ) % 4 ) return arr [ thirdQuarter ] ; else return ( arr [ thirdQuarter - 1 ] + arr [ thirdQuarter ] ) / 2 ; }
Returns the value for the upper Quartil
Returns the value for the upper Quartil