hackerrank 썸네일형 리스트형 Day 3: Bayes' Theorem HackerRank Day 3: Bayes' Theorem(베이지안 정리): P( A | B ) denotes the probability of the occurrence of A given that B has occurred ( B가 발생하면, A가 발생 할 확률 )P( B | A ) denotes the probability of the occurrence of B given that A has occurred ( A가 발생하면, B가 발생 할 확률 ) Let A and B be two events such that P( A | B ) and P( B | A ),A와 B가 P( A | B ) 그리고 P( B | A ) 라면, 더보기 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 다음