I'm fitting a logistic regression model with patient_group
(0,1) as response variable and the explanatory variable being an interaction between two SNPs. When running summary for the model, the alert 'Coefficients: (1 not defined because of singularities)' is shown, and I guess it is due to the fact that the combination AACT has 0 observations.
My question is whether the statistics are still valid, or is there a better way to analyse this kind of data? (The SNPs are located close to each other and are most likely strongly linked.)
> table(data$SNP1, data$SNP2)
CC CT
TT 27 9
AT 83 14
AA 47 0
> model <- glm(patient_group ~ SNP1 * SNP2, data=data, family="binomial")
> summary(model)
Call:
glm(formula = patient_group ~ SNP1 * SNP2, family = "binomial",
data = data)
Deviance Residuals:
Min 1Q Median 3Q Max
-1.2735 -0.9072 -0.7679 1.4742 1.8365
Coefficients: (1 not defined because of singularities)
Estimate Std. Error z value Pr(>|z|)
(Intercept) -1.4816 0.4954 -2.991 0.00279 **
SNP1AT 0.8065 0.5471 1.474 0.14048
SNP1AA 0.4112 0.5978 0.688 0.49158
SNP2CT 1.7047 0.8339 2.044 0.04093 *
SNP1AT:SNP2CT -2.3289 1.0833 -2.150 0.03157 *
SNP1AA:SNP2CT NA NA NA NA
(Dispersion parameter for binomial family taken to be 1)
Null deviance: 218.19 on 179 degrees of freedom
Residual deviance: 212.31 on 175 degrees of freedom
(26 observations deleted due to missingness)
AIC: 222.31
Number of Fisher Scoring iterations: 4