Although primarily a back-end utility for pstar
, eval.edgeperturbation
may be useful in any circumstance in which one wishes to assess the stability of a given structural index with respect to single edge perturbations. The function to be evaluated is calculated first on the input graph with all marked edges set to present, and then on the same graph with said edges absent. (Obviously, this is sensible only for dichotomous data.) The difference is then returned.
In pstar
, calls to eval.edgeperturbation
are used to construct a perturbation effect matrix for the GLM.