Skip to content
Prev 160 / 20628 Next

negative variances

Dear Prof Bates,
Warning message:
Estimated variance-covariance for factor 'id' is singular
 in: `LMEoptimize<-`(`*tmp*`, value = list(maxIter = 200, tolerance = 
1.49011611938477e-08,
0      1191.73: 0.888889 0.0592593  0.00000
  1      1174.58: 5.00000e-10 5.00000e-10 0.281419
  2      1158.10: 0.956617 0.00924174 -0.00978256
  3      1151.88: 0.875101 5.00000e-10 0.550741
  4      1144.22: 0.605105 5.00000e-10 0.550741
  5      1142.59: 0.335108 5.00000e-10 0.550741
  6      1142.06: 0.452561 5.00000e-10 0.550741
  7      1141.97: 0.423318 5.00000e-10 0.550740
  8      1141.97: 0.416524 5.00000e-10 0.550740
  9      1141.97: 0.417039 5.00000e-10 0.550740
Warning message:
Estimated variance-covariance for factor 'id' is singular
 in: `LMEoptimize<-`(`*tmp*`, value = list(maxIter = 200, tolerance = 
1.49011611938477e-08,
0      1191.73: 0.942809 0.243432  0.00000
  1      1181.40: 0.870948  0.00000 -0.124082
  2      1146.91: 0.855545 2.18615e-05 0.0163376
  3      1140.17: 0.413096  0.00000 0.0798584
  4      1137.48: 0.484553 2.13939e-09 0.179021
  5      1136.23: 0.542748  0.00000 0.0799814
  6      1135.87: 0.508893 0.0117775 0.110609
  7      1135.79: 0.496375  0.00000 0.115248
  8      1135.79: 0.497595  0.00000 0.117998
  9      1135.79: 0.494810 2.92361e-08 0.119135
 10      1135.79: 0.494925 1.82196e-08 0.119321
 11      1135.79: 0.495102  0.00000 0.119390
 12      1135.79: 0.495102  0.00000 0.119390
The -2loglikelihhood from MLwiN is 1104.594. I did plot the data and they 
looked fine (at least to me).

With best regards,

Yu-Kang