comparing multiple contingency tables, independent data - MathOverflow most recent 30 from http://mathoverflow.net 2013-05-19T07:15:04Z http://mathoverflow.net/feeds/question/25201 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://mathoverflow.net/questions/25201/comparing-multiple-contingency-tables-independent-data comparing multiple contingency tables, independent data Steven Pav 2010-05-19T03:01:50Z 2010-12-24T10:22:13Z <p>suppose I have <code>$K$</code> different methods for forecasting a binary random variable, which I test on independent sets of data, resulting in <code>$K$</code> contingency tables of values <code>$n_{ijk}$</code> for $i,j=1,2$ and $k=1,2,...,K$. How can I compare these methods based on the contingency tables? The general case would be nice, but <code>$K=2$</code> is also very interesting.</p> <p>I can think of a few approaches:</p> <ul> <li>compare the tetrachoric coefficients of the <code>$K$</code> tables. this would be especially useful if there were something like Fisher's R-to-Z transform for the tetrachoric coefficient.</li> <li>compute <em>some</em> statistic on each of the tables, and compare those random variables (I'm not sure if this is a standard problem or not),</li> <li>something like <a href="http://www.jstor.org/pss/2982447" rel="nofollow" title="On methods of comparing contingency tables">Goodman's improvement of Stouffer's method</a>, but I cannot access this paper, and was hoping for something a little more recent (more likely to have the latest-greatest, plus computer simulations).</li> </ul> <p>any ideas?</p> <p><strong>edit:</strong> originally had proposed computing 'chi-square' statistic on each table, which is woefully underinformed. the resultant statistic is only distributed as a Chi-square under the null hypothesis of no predictive ability, which I do <em>not</em> want to assume. If there is any test I would like to perform here, it is of the null that the different contingency tables represent the same level of predictive ability.</p> <p><strong>more information</strong> (at request of Kjetil): a number of problems could be posed in this way, I believe. my problem: I have a black box method of forecasting dichotomous y from a vector of input X (if you must know, it is weather-related, but I can say no more...) The method seems to work well when looking at (X,y) pairs from the time period 1970 - 1990, but maybe doesn't work as well on data from the period 1990 to present. I get two contingency tables, one for 1970-1990, the other for 1990-2010. I want to be able to detect whether the forecasting technique has gone bad. As an extension of this problem, you can imagine that the black box was constructed by a third party, and they possibly tuned it around 1990, using all the data available until then. the problem then becomes one of in-sample versus out-of-sample predictive ability. As an extension of this extension, pretend, for the moment, that the third party is withholding the X, and publishes only the predictions of the y, and the actual values of the y (although the latter may be verified through other data streams), thus one cannot even use the X to diagnose the overfitting problems.</p> <p>another form of the problem might be as follows: given a black box method of forecasting dichotomous y from vector of predictors X, and dichotomous X_0, does the value of X_0 affect the quality of prediction? one could construct 2 contingency tables for the values of X_0, and compare them.</p> <p>etc.</p> http://mathoverflow.net/questions/25201/comparing-multiple-contingency-tables-independent-data/28452#28452 Answer by Kjetil B Halvorsen for comparing multiple contingency tables, independent data Kjetil B Halvorsen 2010-06-17T02:20:39Z 2010-06-17T02:20:39Z <p>I think this sort of question should be appropriate for MO, after all, statistics IS (applied) mathematics, and MO is not only pure? </p> <p>I think the few answers to the question comes from the lack of backgroud, giving applicable answers with background of the applications is DIFFICULT, so the OP should really amend the question.</p> <p>That being said, i would think about a logistic regression of some kind, maybe with random effects. More details can be given with more deytail in question.</p> http://mathoverflow.net/questions/25201/comparing-multiple-contingency-tables-independent-data/39064#39064 Answer by Tom Smith for comparing multiple contingency tables, independent data Tom Smith 2010-09-17T06:59:47Z 2010-09-17T06:59:47Z <p>If your prediction functions are linear (or linearisable, or approximably linear) then I think a <a href="http://en.wikipedia.org/wiki/Chow_test" rel="nofollow">Chow Test</a> does what you are looking for: it's used in econometrics to test for a structural break in a time series.</p>