Re: [R] Haplo.glm error: Failed to converge during EM-glm loop

2016-06-14 Thread Ravi Varadhan
It is a "warning" message, but not an "error" message. Therefore, you should still get parameter estimates. However, lack of convergence is often an important issue. Although in the case of the EM algorithm, it may not be so serious since EM is notoriously slow to converge when you set a

[R] Haplo.glm error: Failed to converge during EM-glm loop

2016-06-13 Thread 黄桦
Hi all, I used R package "haplo.stats" to see if the haplotype in my data has any effect on the trait, with the genotype, age, height and weight as the predictor and trait as the response. I used the following code: fit.gaus <- haplo.glm(y ~ age + height + weight + geno.glm,