Calculation of the Chi-square
Observed Expected
feuee | eee _ py | ore
a su (fo- fe) fe
. ise Re 0.01
a oe BE 0.13
ia 12.15 at =
25 22.42 {1 eee ai
31 33.06 aa a
36 20.52 aa
534 0.23
By 23.31 5
a 13.18 p38
38 2 177 oe
3 21.3 + 2 =155COMPUTER BASED SOLUTION OF CHI SQUARE TEST USING MEGASTAT VIA
MS — EXCEL
1. The chi-square test built-in formula in the MS- Excel produces conditional values,
The results of this test do not jive with the result using the manual calculations,
Thus, sophistication of data must be practiced.2, There is no built- in tool for Chi- Square Test in our Data Analysis toolpak.
tnt tame Ye Me
3 Bomom OF
ip ae |
ease tes
Sct ans aces ME te
3. It is now time to download and install a statistical software tool that can be mens
using MS Excel. We select to purchase/download MegaStat ® tool version 10.1,
(82 2/24/2007. This software was programmed by J. B. Orvis, Ph.D., from Butler
University. This software will be duct in the MS- Excel as part of the Add-Ins tool.4. After purchasing/ downloading the file for MegaStat v10.1, save the file folder in the
computer.. Open a new blank workbook in MS- Excel and prepare now the
installation. Click File then Options.
Information about Book!
erm
Gh Toman minal ent
repr er Sto
ec en
SR opment
“nots Addztns dick GO-5. A window will appear then click Add-Ins click GO.
oe,
6. Another window for, Add-Ins will appear. A list of installed Add-Ins in yot
Stat. If it is automatically viewed
programs will appear including Meg:
downloaded location check its selection box then OK. If it do not auto
ear in the Add-Ins Select Browse and locate the file folder of MegaStat.
INS eee tactian on the top of the window will appear.5 Mw lypasr bees7. Click the Add-Ins Tab and MegaStat will appear.
|
We are now ready to do the Chi-Square Test Calculations using the MegaStat for
Excel. Let us recall our problem and encode the given in a blank MS Excel Workbook.
Problem. Does college academic grade depends on the high school NCAE results for
the following 200 students? Use 0.01 level of significance.
Academic Grade | NCAE Results :
. Low Average High
HC) 25 21
Above 85
2!I
We are now ready to do the Chi-Square Test Calculations using the MegaStat for |
Excel. Let us recall our problem and encode the given in a blank MS Exce| Workbook,
8.
Problem. Does college academic grade depends on the high school NCAE TeSults for
the following 200 students? Use 0.01 level of significance.
TT... LL of OA Bee
Academic cate [tae aoe Ta]
Above 85 / 13 25 21
75:85 18 [ 31 38
“Below 75 14 I 20 209. Select Add-Ins, dick MegaStat, Scroll down and locate Chi-Square/ Crosstab, then
Contingency Table so we can solve for the Expected Values. You will notice now that
there are also formula for solving the previous topics like descriptive statistics,
hypothesis testing, ANOVA, Correlation and regression and other more topics.40. A contingency table test for independence will appear. Highlights all the data given/
observe values. For the Output Options, check chi-square and expected values.
11, Click Ok and a new worksheet named Output will appear.44, Click Ok and a new worksheet named Output will appear.can now interpret the results of the output, The chi-square value of 1.55 is the
computed value. The degree of freedom is 4.
ocate the value’ of df = 4 in the chi-square table under 0.01 in appendix D. The
tabular value is 13.277. Compare now the computed to the tabular value, that is1.55
< 13.277. Therefore we will accept Ho, College academic grade does not depends on
the high school NCAE results.
‘or the p-value that is 0.8181, compare this to 0.01 level of significance. If p-value >
0.01, Accept Ho.
The MegaStat function is also capable of solving statistical problems that were
previously discussed.