[R] problem with da.mix
Stephanie.Tomczak@eleves.polytech-lille.fr
Stephanie.Tomczak at eleves.polytech-lille.fr
Wed Feb 16 17:54:29 CET 2005
Hello,
We use the mix package and we have a problem with the DA function. We aren't
sure, but it's maybbe a memory problem.
We have done:
> Ent<--read.table("C:/.../File.txt")
> attach(Ent)
> Ent
V1 V2 V3 V4 ... V16 V17
1 1 1 2 6 18 18
2 1 1 1 NA 14 17
3 1 1 2 1 16 14
....
199 2 1 NA 7 19 18
200 2 1 3 2 14 17
> EntPrelim<-prelim.mix(as.matrix(Ent),9)
> EntEM<-em.mix(EntPrelim,maxits=500)
> rngseed(1234567)
> EntDA<-da.mix(EntPrelim, EntEM, steps=100, showits=TRUE)
Steps of data Augmentation:
1... Error in da.mix(EntPrelim, EntEM, steps=100; showits=TRUE):
Improper posterior--empty cells
If you know what is the matter, please help us.
More information about the R-help
mailing list