Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

risk difference ci and chi2 test

7 views
Skip to first unread message

s g

unread,
Jul 3, 2023, 12:06:57 PM7/3/23
to
Hi,

My question is on the interpretation of a 95% CI for a risk difference and the pvalue from a chi2-test.

Sometimes they don't agree and this is because that both methods are based on different assumptions but how would the interpretation go if say the 95% CI includes 0 and the pvalue from a chi2 test is significant?

An example of this is discussed in the statalist post:

https://www.statalist.org/forums/forum/general-stata-discussion/general/1591371-p-value-and-95-ci-don-t-match

Thank you

David Duffy

unread,
Jul 4, 2023, 8:47:27 PM7/4/23
to
As you say, there are "different assumptions". The point of calculating
confidence intervals is to avoid being hung up on arbitrary thresholds.
One can produce confidence intervals by inverting the chi-square test -
this would remove your dilemma ;). Another point is there are multiple
"chi-squares" (eg Pearson v Gibbs for these kinds of data; Wald, score
and likelihood ratio tests more generally), which also can disagree.
They are all only asymptotically equivalent. This is all aside from
the widely shared distrust of P-values...

Rich Ulrich

unread,
Jul 4, 2023, 9:15:26 PM7/4/23
to
(applause)

BTW, Pearson vs. Likelihood chisquared tests on (j x k) tables
are NOT asymptotically equivalent with increased N, which some
people imagine to be true. One of the two is more sensitive to
a single very-extreme cell (I forget which), while the other is more
sensitive to several moderate deviations.

I clicked on the statalist discussion cited above. Covered some
points.

If you want more discussion, check out the additional links provided
in the comments there.

--
Rich Ulrich
0 new messages