Slope index of inequality (SII) calculation

9 views
Skip to first unread message

Lode van der Velde

unread,
Feb 3, 2026, 9:21:28 AM (yesterday) Feb 3
to R-inla discussion group
Hi INLA community,

I am working in health inequality research and have recently fitted a spatio temporal model using R_INLA. I would like to calculation the slope index of inequality (SII) using the same model. This requires a continuous exposure variable and more importantly an identity link for the poisson family. The documentation indicates that this option doesn't exist (yet). 

SII <- inla(Y ~ 1 + midpoint + year_id +
                      f(area_id, model = "bym2", graph = nb_graph) +
                      f(area_id1, year_id, model = "iid"),
                    family = "poisson", data = df_SII, E = E,
                    control.family = list(control.link=list(model= "identity")))

Does anyone have experience with the SII in R-INLA, or fitting a model using an identity link?

Any help is much appreciated!

Kind regards, 

Lode van der Velde


Much appreciated!

Finn Lindgren

unread,
Feb 3, 2026, 10:31:43 AM (yesterday) Feb 3
to Lode van der Velde, R-inla discussion group
Hi,

from what I can tell from a chick googling, the SII measure isn't very clearly defined, and _clearly_ whoever came up with it didn't consider that a linear effect can be negative, so it's not clear how to define it in a way that makes sense.
A Poisson model cannot have an identity link when the coefficient distributions are Gaussian, as that would lead to a positive probability that the expectation of the Poisson model would be negative.
In a purely point-estimation frequentist context, it's enough if the point estimate doesn't lead to impossible results such as that, but in the Bayesian context it needs to be explicit, hence the need for the log-link, or some other non-negative (inverse)link function.

So you may need to consider what interpretation of SII you really want to compute. Also, assuming that "year" is the variable with respect you want to compute SII, the value will depend on the location, so perhaps one option is to do a linear basic least squares fit to the estimated predictor expression evaluated separately for each location (perhaps with some extra work to include the posterior uncertainty; posterior sampling, and linear regression on each sample would achieve that).
The effect of this approach would be to treat SII as the "average linear slope", which is defined also for nonlinear functions, such as the exp(linear) output from the Poisson model with log-link.
Whether this is a sensible approach depends on context and how variable/nonlinear the data are...

Finn

--
You received this message because you are subscribed to the Google Groups "R-inla discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to r-inla-discussion...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/r-inla-discussion-group/e4eafd0a-1553-433e-ac8b-16e968a06d74n%40googlegroups.com.


--
Finn Lindgren
email: finn.l...@gmail.com
Reply all
Reply to author
Forward
0 new messages