# Variance Covaraiance matrix error

**URL:** <https://discourse.pumas.ai/t/variance-covaraiance-matrix-error/980>\
**Category:** Estimation\
**Created:** [February 8, 2024, 5:20am UTC](https://discourse.pumas.ai/t/variance-covaraiance-matrix-error/980 "2024-02-08T05:20:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pavan](https://avatars.discourse-cdn.com/v4/letter/p/439d5e/32.png) [@Pavan](https://discourse.pumas.ai/u/Pavan)\
**Post date:** [February 8, 2024, 5:20am UTC](https://discourse.pumas.ai/t/variance-covaraiance-matrix-error/980/1 "2024-02-08T05:20:45Z")

</div>

![Screenshot (160)](https://canada1.discourse-cdn.com/flex030/uploads/pumas/original/1X/af04dd7354ae42adfabc3df4964e0a945d466787.png)  
iam a novice modeler, iam getting this error constantly, irrespective of the error parameters and compartments, iam not caculate the variance covariance matrix while trying to run  
infer(fit) , ive also tried  
infer(fit1,sandwich\_estimator=false)

---

<div class="post-metadata">

**Author:** ![storopoli](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/storopoli/32/190_2.png) [@storopoli](https://discourse.pumas.ai/u/storopoli)\
**Post date:** [February 8, 2024, 10:36am UTC](https://discourse.pumas.ai/t/variance-covaraiance-matrix-error/980/2 "2024-02-08T10:36:33Z")

</div>

The error message says

> Variance-covariance matrix could not be evaluated.  
> The random effects may be over-parameterized.  
> Check the coefficients for variance estimates near zero.

And checking your parameter estimates table, we see that 3 out of you 4 Omegas are `< 0.033`.  
This gives Etas that are around 3%:

```julia-repl
julia> exp(0.033)
1.0335505392413056

```

So, you might want to follow through with the error message suggestion and revisit the Omegas that might be over-parameterized?

Additionally, if you are confident that these Omegas don’t need change, then you can try a different estimation method for the confidence intervals.  
A good approach is to use a non-parametric one (that does not make assumptions about the underlying distribution of you parameters) such as `Bootstrap()`.  
Try:

```julia
infer(fit, Bootstrap())

```
