Skip to content

test Breslow-Day for svytable??

2 messages · Thomas Lumley, Diana Marcela Martinez Ruiz

#
On Sat, Sep 1, 2012 at 4:27 AM, David Winsemius <dwinsemius at comcast.net> wrote:
Yes, that will give internal consistency from a data structure point
of view.  It won't give a valid test in real examples, though --
epi.2by2 doesn't know about complex sampling, and what you're passing
it is just an estimate of the population 2x2xK table.

What would work, though it's not quite the same as the Breslow-Day
test, is to use svyloglin() and do a Rao-Scott test comparing the
model with all two-way interactions ~(Gender+Dept+Admit)^2 to the
saturated model ~Gender*Dept*Admit.

    -thomas
1 day later