How to get the model variance for a random intercept model using gpboost?
Closed this issue · 1 comments
raheems commented
I fitted a random intercept model with one grouping variable. I get the model summary such as
Model summary:
Log-lik AIC BIC
-181.17 388.34 451.42
Nb. observations: 946
Nb. groups: 113 (id)
-----------------------------------------------------
Covariance parameters (random effects):
Param.
id 24.6481
How to get the model variance in addition to the covariance of the random effects? In statsmodels, there is a Scale
parameter which shows the model variance.
fabsig commented
What's your likelihood
? It seems you have a non-Gaussian likelihood such as a binary. If you have a binary likelihood, there is no other parameter. If you have likelihood = "gaussian"
, you will see the error variance.