## Go back to

.....The site is being constantly updated, so come back to check new updates.....

If you find any bug or need any improvements in solution report it here

# Chi-Squared Test calculator

INSTRUCTION: Use ',' or new line to separate between values

 Enter alpha value:

## You can see a sample solution below. Enter your data to get the solution for your question

$$\displaylines{---}$$
$$\displaylines{The\;null\;and\;alternative\;hypothesis\;are: \\ \\ H_{0}:\;All\;values\;are\;in\;equal\;proportion \\ \\ H_{a}:\;H_{0}\;is\;false \\ \\ First\;we\;have\;to\;find\;mean \\ \\ Mean = \frac{\sum_{i=1}^{n}x_{i}}{n} \\ \\ \,=\frac{2+4+6+7+8}{5} \\ \\ \,=\frac{27}{5} \\ \\ \Rightarrow 5.4 \\ \\ alpha= 0.05 \\ \\ }$$
$$Observed$$
$$Expected$$
$$Obs - Exp$$
$$(Obs - Exp)^2$$
$$[(Obs - Exp)^2]/Exp$$
$$2$$
$$5.4$$
$$-3.4$$
$$11.56$$
$$2.140741$$
$$4$$
$$5.4$$
$$-1.4$$
$$1.96$$
$$0.362963$$
$$6$$
$$5.4$$
$$0.6$$
$$0.36$$
$$0.066667$$
$$7$$
$$5.4$$
$$1.6$$
$$2.56$$
$$0.474074$$
$$8$$
$$5.4$$
$$2.6$$
$$6.76$$
$$1.251852$$
$$Total$$



$$4.296297$$
$$\displaylines{}$$
$$\displaylines{Sum\;of\;all\;elements\;in\;last\;colomn\;is\; \chi^{2}= \sum_{}^{}\frac{(E-O)^{2}}{E} = \mathbf{\color{Red}{4.296297}} \\ \\ df\;=\; n-1= 5-1= 4 \\ \\ p\;value\;for\;\chi^{2}\;=\;4.296297\;and\;df\;=\;4\;is\; p= 0.367389 \\ \\ p-value\;is\;more\;than\;\alpha \\ \\ So\;There\;is\;not\;enough\;evidence\;to\;reject\;H_{0}\; }$$