This effect models loops for cases in which individuals have more than one origin. The additional origin not specified in the mobility data is included as a resource.attribute.index. The question modeled is: Do individuals stay in the additional location of origin, compared to going to a different location?
loops_additional_origin(
dep.var = 1,
resource.attribute.index,
state,
cache,
i,
j,
edge,
update,
getTargetContribution = FALSE
)
Returns the change statistic or target statistic of the effect for internal use by the estimation algorithm.