10 days of statistics 썸네일형 리스트형 Day 1: Interquartile Range HackerRank 10 days of statistics: Day 1 note taking Interquartile Range Quartiles = 3 points which divide an array into 4 equal range. quartile Q1 Q1 >= 25% of the dataQ2 Q2 >= 50% of the dataQ3 Q3 >= 75% of the data Interquartile Range Q3-Q1 Interquartile Range(사분위 범위): the difference between first(Q1) and third(Q3) quartiles. def median(arr): N = len(arr) if N%2==0: return (arr[(N//2)-1]+arr[N.. 더보기 Day 1: Quartile HackerRank 10 days of statistics: Day 1 note taking Quartile(4분위수): The quartiles of an ordered data set at the 3 points that split the data set into 4 equal groups. - the odd number of elements median of lower half from median= first quartile median(중앙값)= second quartile= 50 percentile median of upper half median= third quartile - the even number of elements average of these two elements= media.. 더보기 이전 1 다음