ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
Talk:Chi-square test - Wikipedia, the free encyclopedia

Talk:Chi-square test

From Wikipedia, the free encyclopedia

WikiProject Mathematics
This article is within the scope of WikiProject Mathematics, which collaborates on articles related to mathematics.
Mathematics rating: Stub Class High Priority  Field: Probability and statistics
One of the 500 most frequently viewed mathematics articles.

This article is within the scope of WikiProject Statistics, which collaborates to improve Wikipedia's coverage of statistics. If you would like to participate, please visit the project page.

Contents

[edit] Some examples please?

The explanation is completely in theoretical terms. I'm trying to understand an article better, and this piece is absolutely no help in doing so. Depaderico 04:11, 22 October 2007 (UTC)

The specifics of the examples are in the articles linked to, rather than in this article. Certainly more of those could be added, and this article remains somewhat stubby. But if you follow those links, you'll find some examples. Michael Hardy 20:21, 22 October 2007 (UTC)

[edit] Accuracy?

Whew. That last paragraph (after the table) is a blow-out non sequitor. Where did the p=0.5485 come from? —Preceding unsigned comment added by 70.79.12.65 (talk) 17:53, 13 January 2008 (UTC)

I'd like to know that too. I kinda forgot. --RoSeeker (talk) 17:12, 27 January 2008 (UTC)

Yeah, citing the equation that is used to calculate the 54.85% would be very beneficial. —Preceding unsigned comment added by 132.189.76.18 (talk) 19:46, 22 February 2008 (UTC)
The above editors are right. Also, I can't make sense of the statement that there is a 54 per cent probablility of seeing "this data" if the coin is fair. We all know that if we toss a fair coin 100 times the result could easily be 47-53 but it is not more likely than not that we get exactly 47-53. 48-52 would also come up pretty often. Itsmejudith (talk) 15:43, 12 March 2008 (UTC)
I fixed the wording so that the interpretation of the ~54% is correct. Baccyak4H (Yak!) 18:22, 12 March 2008 (UTC)
Clearer now, thanks. Itsmejudith (talk) 08:47, 13 March 2008 (UTC)

[edit] Calculating P from Chi2 and DoF

This article seems to be a good introduction, but could use a lot more detail such as-

  • Another example with >1 DoF (Degrees of Freedom)
  • DoF = (r-1)(c-1)
  • Where do the P-values come from? (how are they computed?)

If anyone knows a formula/algorithm for calculating a P-value from the Chi2 and degrees of freedom, please let me know.

--Karuna8 (talk) 18:14, 17 March 2008 (UTC)

Thank you. An example taking us through every step of calculating the Chi square of a 2x2 contingency table would seem to be a basic requirement. Itsmejudith (talk) 18:39, 17 March 2008 (UTC)

[edit] Move Pearson's chi-square test to chi-square test?

Re the above, there's more info at Pearson's chi-square test. At one point this page (i.e. Chi-square test was just a disambiguation page but it has slowly expanded, i think because it wasn't clear it was just meant to be a disambig page. Could just revert it to the being a disambig page , but I've been thinking that to prevent us going around the same slow circle again it might be better to move the page currently at Pearson's chi-square test to Chi-square test with a note at the top along the lines of:

This article is about Pearson's chi-square test, the oldest and most common chi-square test used with contingency tables. For other tests that also make use of the chi-square distribution, see Chi-square test (disambiguation).

After all, I don't think there's any question that the vast majority of users who type in "chi-square test" are looking for Pearson's. Nor is there any historical question that Pearson's paper introduced the use of the symbol chi in this context, so calling it simply "the chi-square test" seems quite reasonable.

On Karuna8's last point, calculating a P-value from the Chi2 and degrees of freedom requires calculation of the cumulative distribution function of the chi-square distribution, so more details are at chi-square distribution, but in a nutshell you need to calculate the Incomplete gamma function which isn't simple. In the past people looked it up in a table, but most people these days use statistical software that has the chi-square distribution's cdf programmed into it. I wouldn't know how to calculate it or program it from scratch — I'm sure that it's built into various software libraries based on algorithms in the relevant standard textbooks but I'm equally sure it's not available on Wikipedia I'm afraid, nor would I see adding it as a high priority. Qwfp (talk) 18:47, 17 March 2008 (UTC)

Thanks, I don't think moving is necessary, I just added a 'see also' to the Pearson's page for 'more detail'. That should suffice. Also thanks for the leads, if anyone knows of a written algorithm I could follow, let me know. --Karuna8 (talk) 18:55, 17 March 2008 (UTC)
Agree- I changed my mind- I didn't quite understand the difference before. Since 'chi2 test' really means pearson's, I think the two should be merged. This page provides a good introduction and the Pearson's page has the more detailed parts. No disambig page is necessary since Yates is really just a modified Pearson's (my books call it Yates correction, not a different test). --Karuna8 (talk) 15:40, 18 March 2008 (UTC)
It could do with sorting out. Simplest would seem to be to make Chi-square test a disambiguation page again and to move all the material currently here that provides an introduction to the Pearson chi-square to the Pearson's chi-square test article. As Karuna says, this can stand as the introduction and the more detailed material in the Pearson's article can simply follow. Itsmejudith (talk) 20:49, 18 March 2008 (UTC)

It's ridiculous to say that "chi-square test" really means Pearson's. Such a merger is the opposite of what we need to do. Michael Hardy (talk) 16:41, 22 March 2008 (UTC)

Can you explain the difference then, because I don't see it. --Karuna8 (talk) 17:20, 22 March 2008 (UTC)

The difference is that Pearson's chi-square test is used only for testing a null hypothesis that about sizes of subsets that a population has been partitioned into. If you throw a die, you can get any of six outcomes; a null hypothesis may say the die is "fair", meaning all six happen equally frequently, or, in the language of the previous sentence, that all six of those subsets of the population are of equal sizes. A chi-square test generally is any statistical test in which the probability distribution of the test statistic, assuming the null hypothesis is true, is a chi-square distribution. A simple example would be a table in which the null hypothesis says just that rows and columns are independent. That's not Pearson's chi-square test, but it is a chi-square test. There are many other chi-square tests besides Pearsons. Michael Hardy (talk) 17:52, 22 March 2008 (UTC)

So would it be better to use a 2x2 contingency table, as I have seen done in introductory stats texts? For example, a company has managerial and non-managerial staff, male and female. The null hypothesis is that men and women are equally likely to be managers. We draw up a 2x2 grid with the numbers of workers actually found in the categories, compare with the expected and calculate the Pearson's chi-square to see if the null can be excluded. Itsmejudith (talk) 11:40, 1 April 2008 (UTC)

[edit] What more?

Given that this article has been classed as high priority and is still classed as a stub, can people add discussion here of what needs to be done to improve things. Melcombe (talk) 14:13, 21 April 2008 (UTC)

Enough exemplar material to take a reader who has only vaguely heard of the test through to being able to use it in a real situation. That's my priority, anyway. Itsmejudith (talk) 14:28, 21 April 2008 (UTC)
And could we use the same 2x2 contingency table as in the contingency table article? Itsmejudith (talk) 14:29, 21 April 2008 (UTC)
I think the discussion in the section above concludes that there are many different tests that can reasonably be called chi-squared tests, so that "the test" is not quite appropriate. Potentially what is needed here is a set of simple examples of the different tests to help readers to distinguish between them, but leaving most details to other articles. Melcombe (talk) 11:50, 22 April 2008 (UTC)


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -