Reg. No: XXXXX Name: YYYYY AIM: Example: Finding Measures of Central Tendency, Dispersion, Skewness and Kurtosis for the given data. KEY WORDS: Example: M = Mean MD = Median Mode = mode Cl = cumulative frequency H = height of the class F = frequency V = variance SD = standard deviation CV = coefficient of variation B1 & B2 = Pearson’s Coefficients M1,M2,M3,M4 = Moments about mean R-CODE: h=10 x=seq(175,245,h) f=c(53,68,85,92,100,95,70,28) N=sum(f) Reg. No: XXXXX Name: YYYYY M=(sum(x*f))/sum(f) M cl=cumsum(f) cl ml=min(which(cl>=N/2)) ml F=f[ml] F c=cl[ml-1] c l=midx[ml]-h/2 MD=l+(((N/2)-c)/f)*h MD m=which(f==max(f)) m fm=f[m] fm f1=f[m-1] f2=f[m+1] f1 f2 l=midx[m]-h/2 l mode=l+((fm-f1)/(2*fm-f1-f2))*h mode var=((1/N)*(sum(x^2*f)))-((1/N)*(sum(x*f)))^2 var SD=sqrt(var) SD CV=100*(SD/M) CV Reg. No: XXXXX Name: YYYYY M1=sum(((x-M)^1)*f)/N M2=sum(((x-M)^2)*f)/N M3=sum(((x-M)^3)*f)/N M4=sum(((x-M)^4)*f)/N B1=(M3^2)/(M2^3) B2=(M4)/(M2^2) B1 B2 G1=sqrt(B1) G2=B2-3 G1 G2 CONCLUSION: i) Mean = 208.9255 ii) Median = 209.3391 iii) Mode = 206.1538 iv) 1. Variance = 389.3278 2. SD = 19.73139 3. CV = 9.444221 4. B1 = 0.00336 5. B2 = 2.03125