본문 바로가기
반응형

분류 전체보기123

(R) coord_flip() coord_flip() >?coord_flip When assigning manufacturer variable of mpg to x-axis, It is hard to seize the name of elements of manufacturer variable. Because 'manufacturer' in 'mpg' tend to be overlapped having a long elements such as 'volkswagen','toyota'. So we need to flip the columns to horizontal so that elements are not overlapped. > manufacturer_class%count(manufacturer,class)%>%group_by(ma.. 2020. 7. 30.
Order Statistics /joint pdf of order statistics / pdf of order statistics / joint pdf of two order statistics /pdf and cdf of first and the largest order statistics /median/sample range/ Relation between U(0,1) andBeta Order statistics are random samples listed in increasing order. I think you might be familiar with the minimum, maximum, median, and quantiles which are also the order statistics. X(1),X(2),X(3),...,X(n) are order statistics and X(k) is called as 'k'th order statistics. Joint probability density function of order statistics is the pdf of X(1) 2020. 7. 30.
(R) count the number of elements/ count() count(): count the number of elements of each variable >?count df%>%group_by(a,b)%>%summarise(n=n() ∥∥df%>%count(a,b) > mpg2%select(manufacturer,class)%>%filter(manufacturer=="audi")> mpg2# A tibble: 18 x 2 manufacturer class 1 audi compact 2 audi compact 3 audi compact 4 audi compact 5 audi compact 6 audi compact 7 audi compact 8 audi compact 9 audi compact10 audi compact11 audi compact12 audi .. 2020. 7. 29.
Moment generating function / property / Binomial / Exponential / Normal /Bernoulli /Geometric/ Gamma/ Poisson /Chi squared/ Moment : core role in describing distributions. 1. make a moment generating function --- Mx(t)2. differentiate it 'r'th time ---M'r(t)3. t=0 --- M'r(0) = E(X^r)Moment Generating Function (MGF) :function that generates 'Moments' Properties of Moment Generating Function (MGF) 'Uniqueness' means ' If X and Y has same moment generating function, X and Y have same distribution' Joint Moment Generatin.. 2020. 7. 29.
반응형