Learn R Programming

MoNAn (version 1.1.0)

dyadic_covariate_resource_attribute: dyadic_covariate_resource_attribute

Description

Is mobility between locations predicted by the dyadic covariate u weighted by the individual covariate w? E.g., is mobility of women more likely between organisations that are in the same region? Note that this effect can be used to also model the interaction between the ‘same covariate’/‘covariate similarity’ effect and individual attributes, since sameness and similarity between locations can be translated into dyadic covariates.

Usage

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

Value

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

Arguments

dep.var

attribute.index

resource.attribute.index

state

cache

i

j

edge

update

getTargetContribution