Question #265823

a sample of 60 units was inspected to find the number of defective,which was grouped in 0,1,2,3,4 or 5 defectives .if X is the random variable defining the number of defective units, then the frequency table of the X is as follows

X012345Frequency517121583

test at 1% level of significance whether this data can be considered to follow a binomial distribution.




1
Expert's answer
2021-11-15T17:07:10-0500

x=(0,1,2,3,4,5)x=(0,1,2,3,4,5)

observed frequencies:

f=(5,17,12,15,8,3)f=(5,17,12,15,8,3)

relative frequencies are rx=fx/60r_x=f_x/60

the sample mean is

μ=xrx=17+24+45+32+1560=2.22\mu=\sum xr_x=\frac{17+24+45+32+15}{60}=2.22

binomial mean:

μ=np\mu=np , where n=6n=6 is the number of independent trials,

p is the success probability.

p=2.22/6=0.37p=2.22/6=0.37


The chi-squared goodness-of-fit test:

the null hypothesis is that the distribution Binom(6,0.37)Binom(6,0.37) is an appropriate model for the number of successes.

test statistic is:


χ2=(fxEx)2Ex\chi^2=\sum\frac{(f_x-E_x)^2}{E_x}


where expected frequencies are Ex=60pxE_x=60p_x

px=Cnxpx(1p)nxp_x=C^x_np^x(1-p)^{n-x}

p0=0.0625,p1=0.2203,p2=0.3234,p3=0.2533p_0=0.0625,p_1=0.2203,p_2=0.3234,p_3=0.2533

p4=0.1116,p5=0.0262p_4=0.1116,p_5=0.0262

E0=3.75,E1=13.22,E2=19.40,E3=15.20E_0=3.75,E_1=13.22,E_2=19.40,E_3=15.20

E4=6.70,E5=1.57E_4=6.70,E_5=1.57


χ2=(53.75)23.75+(1713.22)213.22+(1219.4)219.4+(1515.2)215.2+(86.7)26.7+(31.57)21.57=5.8775\chi^2=\frac{(5-3.75)^2}{3.75}+\frac{(17-13.22)^2}{13.22}+\frac{(12-19.4)^2}{19.4}+\frac{(15-15.2)^2}{15.2}+\frac{(8-6.7)^2}{6.7}+\frac{(3-1.57)^2}{1.57}=5.8775


df=n2=4df=n-2=4


critical value:

χcrit2=13.277\chi^2_{crit}=13.277


Since χ2<χcrit2\chi^2<\chi^2_{crit} we accept the null hypothesis. Data can be considered to follow a binomial distribution.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS