I have a confusing situation where I have strongly conflicting results from two ways of analyzing my simple data. I measure two binary variables from each participant, AestheticOnly and ChoiceVA. I want to know if AestheticOnly depends on ChoiceVA and whether this relation is different in two different experiments. Here is my participant count data:
Experiment 1
AestheticOnly
0 1 All
ChoiceVA A 35 6 41
V 20 13 33
All 55 19 74
Experiment 2
AestheticOnly
0 1 All
ChoiceVA A 12 10 22
V 31 11 42
All 43 21 64
I run a logistic regression where AestheticOnly is modelled by ChoiceVA, Experiment, and the interaction:
> mod <- glm( AestheticOnly ~ ChoiceVA*Experiment, data = d, family=binomial)
> summary(mod)
Call:
glm(formula = AestheticOnly ~ ChoiceVA * Experiment, family = binomial,
data = d)
Deviance Residuals:
Min 1Q Median 3Q Max
-1.1010 -0.7793 -0.5625 1.2557 1.9605
Coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) -3.3449 0.9820 -3.406 0.000659 ***
ChoiceVAV 3.5194 1.2630 2.787 0.005327 **
Experiment 1.5813 0.6153 2.570 0.010170 *
ChoiceVAV:Experiment -2.1866 0.7929 -2.758 0.005820 **
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
(Dispersion parameter for binomial family taken to be 1)
Null deviance: 166.16 on 137 degrees of freedom
Residual deviance: 157.01 on 134 degrees of freedom
AIC: 165.01
Number of Fisher Scoring iterations: 4
Apparently all factors are significant. But, this just doesn't make sense to me. For example, looking at the main effect of experiment should be equivalent to performing a Fisher's Exact test comparing 55 and 19 with 43 and 21 (bottom lines of each table). This is obviously not significant (p=.452). So why does the regression model give such a different result? Any help much appreciated.