psABBA | R Documentation |
Specifies the statistic for a participation shift AB-BA.
psABBA(consider_type = TRUE)
consider_type |
logical, indicates whether to consider the event type in determining which dyads create a pshift (TRUE, default) or not (FALSE). |
The AB-BA pshift effect refers to one of Gibson's (2003) dyadic participation shifts. The AB-BA pshift refers to the tendency for immediate reciprocation (the next sender is the previous receiver and the next receiver is the previous sender). For each timepoint t, the psABBA statistic is equal to one for the dyad that will create the participation shift if it would occur in the edgelist at time t and equal to zero for the dyads that will not create this participation shift. If consider_type is set to TRUE, the type of the AB event and the type of the BA event have to be equal. If it is set to FALSE, the participation shift is set to one for every BA event, regardless of the event type. If multiple events in the edgelist occur at the same time point, the order of these events determines whether the p-shift is observed. Note that the AB-BA pshift is only defined for directed events.
List with all information required by 'remstats::remstats()' to compute the statistic.
psABBY
, psABXA
, psABXB
,
psABXY
or psABAY
for other dyadic participation
shifts.
reh_tie <- remify::remify(history, model = "tie")
effects <- ~ psABBA()
remstats(reh = reh_tie, tie_effects = effects)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.