Hi chrchang523,
Thanks for the reply!
Yes I've check this, I'm just looking at a group of SNPs in particular, when I perform a straight forward -assoc test all these SNPs have minor allele frequencies in either cases, controls or both. The SNPs that have minor allele frequency of 0 in one either case or control, then I'd expect the logistic regression to be NA for these (see table SNP 1). But for some SNPs there is a MAF in cases and controls, and yet the logistic regression is NA (see table SNP 2 and 3)
snpName MAFcase MAFcontrol LogisticRegressionPvalue OR L95 U95
1 4.014 0 NA NA NA NA
2 4.119 0.6536 NA NA NA NA
3 0.1144 2.288 NA NA NA NA
4 17.73 30.59 1.71E-02 0.5943 0.3875 0.9115
Could it be that the MAF is to small for SNP 2 and 3? Like with a Chi squared test needs to see a minimum of 4 observations for the test to work.