来自R的glmer的错误

时间:2015-07-08 03:43:42

标签: r mixed-models

当我在R中运行glmer分析时:

datglmer = glmer(word ~ lg + age_b + (1|name), data=dat, family=binomial)

我明白了:

Warning messages:
1: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv,  :
  unable to evaluate scaled gradient
2: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv,  :
  Model failed to converge: degenerate  Hessian with 1 negative eigenvalues

表格格式的数据是:

> table(dat$word, dat$lg, dat$age_b)
, ,  = adu
           lw   w
  boy      66   0
  wirriya   3  63

, ,  = chn
           lw   w
  boy     110   0
  wirriya  35  89

项目'男孩'并没有出现在预测器中。' w。有没有办法进行此分析?

0 个答案:

没有答案