|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Chi square is one of the statistical tools in the Multi-Vari approach and is both the simplest and least powerful. Chi square helps determine the statistical significance of a relationship between an Attribute X and an Attribute Y in Y = f(X1,X2,..., Xn). The approach used is to assume the variables are independent and set up the hypotheses as follows: Ho: Data are Independent (Not Related) Ha: Data are Dependent (Related) The output of the test is a "p-value" that indicates the likelihood of seeing a relationship this strong in a sample purely by random chance; that is, there is no relationship at the population level, it just happened by fluke in selecting the sample from the population. As in most statistical tests, if the p-value is less than 0.05, then the null hypothesis Ho should be rejected. In English, if the p is less than 0.05, then the likelihood of seeing a relationship this strong is less than 5%, and, therefore, there is a good chance that it is real; if p is greater than 0.05 then the conclusion should be that there is no relationship. As with any statistical test, Chi Square comes with its set of "could be" and "might be" statements. For example if the Personnel Department wants to see if there is a link between age and whether an applicant is hired, then both Age (old and young) and Got Hired (did or didn't) are attribute type data. A Chi Square test would be applicable to answer the question: Are age and hiring decisions dependent or independent? Ho: Age and Hiring Decisions are independent Ha: Age and Hiring Decisions are dependent As with all statistical tests, a sample of reality is required, similar to that shown below where about 455 data points were taken and the data distributed amongst the four possible outcomes. The data can then be analyzed in a statistical package, such as Minitab. The software calculates the expected values in each box, and compares the observed with the expected frequencies to produce a signal-to-noise type ratio using : Where O is the observed frequency and E is the expected frequency in a box. The software then looks up the χ2 (the sum of all the discrepancies) value in a statistical table to discover the likelihood of seeing a difference that big. As a Belt using the tool practically, all that is important, after the data has been captured using robust data collection methods, is the output of the tool, which should be similar to that shown below. Chi Square Test: Hired, Not Hired Expected counts are printed below observed counts Hired Not Hired Total 1 30 150 180 29.67 150.33 0.004 0.001 2 45 230 275 45.33 229.67 0.002 0.000 Total 75 380 455 Chi-Sq = 0.007, DF = 1, P-Value = 0.932 The first place to look is the p-value, which in this case p = 0.932. In this instance, the p-value is not low (not below 0.05); thus, the conclusion should be that the relationship between Age and Hiring Practice is not significant for the sample of data taken. Chi Square can be applied in virtually any transactional processes where attribute data usually abounds. For example: HR Number of sick days by employee or department Accounting Number of incorrect expense reports by employee or department Sales Number of lost sales by account or region or country Logistics Number of deliveries late by distribution center or country Call Center Number of missed Customer calls by associate or shift Installation Number of repeat service calls by field technician Purchasing Number of days delivery-time for orders by supplier Inventory Number of parts by distribution center The roadmap to setting up and applying a Chi Square test is as follows: Step 1. Understand the question at hand. There should be a clear relationship in question; does X affect Y? The relationship needs to involve data for both X and Y that is attribute or discrete valued. There should be a business reason for asking the question in the first place, that is the question "Why do we care?" needs to have been answered. Step 2. Set up the hypotheses in the form: Ho: Data are Independent (Not Related) Ha: Data are Dependent (Related) Step 3. Determine a data collection method and asample size. The sample size is based on the expected values in each box in the data collection table. To have a reasonable confidence in the result of the test, there needs to be an expected value in each box greater than 5. Thus, to calculate sample size, identify the lowest potential proportion likely in any of the boxes. Divide 5 by this proportion to give an approximate bare minimum number of data points to collect. For example, if the expected proportion in one box is 2.5% (0.025), then dividing 5 by 0.025 gives 200 data points. This is a little hit and miss, but gives a ballpark approximation. Typically the approach is to double this number to be on the safe side. The Chi Squared test is data hungry, with sample sizes often above 500. Step 4. Collect the sample of reality. Ideally the data is available historically, or available quickly in large quantities or otherwise the project might need to idle while data is collected. Step 5. The data is entered in the form of a table into a statistical package and analyzed. The first place to look during analysis is to the p-value. If the p-value is higher than 0.05 then the conclusion is that the X and Y are not dependent based on the sample of reality taken . However, if the p-value is low (less than 0.05) then there is reason to believe that the X and Y are dependent in some way and the distribution of data points within the table isn't as expected if everything was based on random chance. To demonstrate this, consider the data below, which represents loan approval or rejection decisions on different days of the week. The bank in question clearly would like loan decisions to be independent of the day the loan was processed. Rejected Approved Monday 9 27 Tuesday 8 21 Wednesday 11 25 Thursday 7 24 Friday 25 23 The results of the Chi Square Test analysis are shown Chi Square Test analysis results for loan data (output from Minitab v14). Looking immediately to the p-value of 0.028 (less than 0.05), it is clear that the likelihood of seeing a distribution of data in the boxes like this purely by random chance, given that there was no relationship. Thus, the conclusion is that the null hypothesis should be rejected and the alternate "Data are dependent" should be accepted instead. In English, we conclude there is something fishy going on, because the chances of getting a loan varies by day of the week. Join our mailing list to stay updated with Chi square update
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Add Our RSS Feed
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||