markmfredrickson/RItools — Issue #14: Why would csq and thus p.value be quietly NaN?
Author: jwbowers
Created: 2012-03-06 22:11:00+00:00
State: open

With a large dataset, n=5600, 3100 treated, 2500 controls, with dim(mm)=5600, 239 (nearly all binary from factor expansion), I get:

```
xb3.wk4<-xBalance(as.formula(afmla),strata=list(unstrt=NULL,sampreg=~samp.and.region,strat=~strat),
data=droplevels(ho05[abs(ho05$week)<=4,]),
report="chisquare.test")

---Overall Test---
chisquare df p.value
unstrt NaN 224 NaN
sampreg 199 215 0.781
strat 195 213 0.803
```

I haven't seen this behavior before.