joining_similar_avoiding_dissimilar_covar_bin {MoNAn}R Documentation

joining_similar_avoiding_dissimilar_covar_bin

Description

Do individuals with the same attribute tend to use the same paths and individuals with different attributes to move to different places? This statistic gives a positive contribution to all pairs of individuals with the same (binary) covariate who use the same path and a negative one to pairs of dissimilar individuals following the same path.

Usage

joining_similar_avoiding_dissimilar_covar_bin(
  dep.var = 1,
  resource.attribute.index,
  state,
  cache,
  i,
  j,
  edge,
  update,
  getTargetContribution = FALSE
)

Arguments

dep.var
resource.attribute.index
state
cache
i
j
edge
update
getTargetContribution

Value

Returns the change statistic or target statistic of the effect for internal use by the estimation algorithm.


[Package MoNAn version 1.1.0 Index]