For a paper, I've ran an ergm model. A reviewer has requested that to run a sensitivity analyses on the model, with the goal of checking how strong the effect of an unobserved and unmeasured confounding variable has to be in order to explain away the effect of the independent variable. The reviewer specifically pointed to this paper: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4288024/.
I don't really an idea how to go about this. So any and all help is much appreciated. I have provided a reproducible example below.
library(statnet)
data(flo)
flomarriage <- network(flo,directed=FALSE)
flomarriage
flomarriage %v% "wealth" <- c(10,36,27,146,55,44,20,8,42,103,48,49,10,48,32,3)
flomarriage
gest <- ergm(flomarriage ~ edges +
absdiff("wealth"))
summary(gest)
Based on the model, it is estimated that a wealth difference of 10 corresponds to a 0.182511 probability of a tie. How can I estimate how strong an unmeasured confouders needs to be in order for this effect to dissapear?
I have looked into several packages such as the tipr package (https://cran.r-project.org/web/packages/tipr/index.html), but I'm not sure this is what I'm looking for or if it is, how to apply it to my model.