Is it peculiar for variance estimate to be negative despite placing positive constraint in optimization ? Here is an example case that I just encountered. I have marked the random effect estimate with *
. Model was run in R with sommer::mmer()
function.
Also, with big AIC/BIC values and with so many variance-covariance parameters to estimate, is the model really badly formulated ? Please note that total observations = 72.
summary(bean_compound_symmetry)
===========================================================================================
Multivariate Linear Mixed Model fit by REML
************************************** sommer 4.1 **************************************
===========================================================================================
logLik AIC BIC Method Converge
Value 21.21391 -36.42783 -29.63979 NR TRUE
===========================================================================================
Variance-Covariance components:
VarComp VarCompSE Zratio Constraint
u:g.seed_yield_per_ha-seed_yield_per_ha -0.01081* 0.02174 -0.4974 Positive
1:g.seed_yield_per_ha-seed_yield_per_ha 0.00000 0.03645 0.0000 Positive
2:g.seed_yield_per_ha-seed_yield_per_ha 0.18755 0.13733 1.3657 Positive
3:g.seed_yield_per_ha-seed_yield_per_ha 0.01471 0.04508 0.3263 Positive
4:g.seed_yield_per_ha-seed_yield_per_ha 0.00000 0.03645 0.0000 Positive
Bhatte:year.seed_yield_per_ha-seed_yield_per_ha 0.00000 0.05513 0.0000 Positive
Chaumae:year.seed_yield_per_ha-seed_yield_per_ha 0.87331 0.78049 1.1189 Positive
Dhankute Chirrke:year.seed_yield_per_ha-seed_yield_per_ha 0.34065 0.33230 1.0251 Positive
Trishuli:year.seed_yield_per_ha-seed_yield_per_ha 2.07321 1.73773 1.1931 Positive
White OP:year.seed_yield_per_ha-seed_yield_per_ha 0.00000 0.05513 0.0000 Positive
WP Con Bean:year.seed_yield_per_ha-seed_yield_per_ha 0.04779 0.07970 0.5996 Positive
u:units.seed_yield_per_ha-seed_yield_per_ha 0.13937 0.03264 4.2700 Positive
===========================================================================================
Fixed effects:
Trait Effect Estimate Std.Error t.value
1 seed_yield_per_ha (Intercept) 0.732327 0.1057 6.92928
2 seed_yield_per_ha year2017/18 0.003516 0.1647 0.02135
3 seed_yield_per_ha year2018/19 1.100930 0.1647 6.68456
===========================================================================================
Groups and observations:
seed_yield_per_ha
u:g 6
1:g 6
2:g 6
3:g 6
4:g 6
Bhatte:year 3
Chaumae:year 3
Dhankute Chirrke:year 3
Trishuli:year 3
White OP:year 3
WP Con Bean:year 3
===========================================================================================