zach | R Documentation |
Zachary (1977) reported observations of social relations in a university karate club, with membership that varied between 50 and 100, of whom 34 individuals: 32 ordinary club members and officers, the club president ("John A."), and the part-time instructor ("Mr. Hi"); consistently interacted outside of the club. Over the course of the study, the club divided into two factions, and, ultimately, split into two clubs, one led by Hi and the other by John and the original club's officers. The split was driven by a disagreement over whether Hi could unilaterally change the level of compensation for his services.
The data are represented as a network
object, with an
edge attribute contexts
, giving the number of contexts of interaction
for that pair of actors. In addition, the following vertex attributes are
provided:
the club in which the actor ended up;
the club in which the actor ended up;
faction alignment of the actor as recorded by Zachary
faction alignment of the actor as recorded by Zachary
faction alignment coded numerically, as -2
(strongly Mr. Hi's), -1
(weakly Mr. Hi's), 0
(neutral), +1
(weakly John's), and +2
(strongly John's);
role of the actor in the network (Instructor, Member, or President)
Zachary identifies the faction with which each of the 34 actors was aligned and how strongly and reports, for each pair of actors, the count of social contexts in which they interacted. The 8 contexts recorded were
academic classes at the university;
Hi's private karate studio in his night classes;
Hi's private karate studio where he taught on weekends;
student-teaching at Hi's studio;
the university rathskeller (bar) located near the karate club;
a bar located near the university campus;
open karate tournaments in the area; and
intercollegiate karate tournaments.
The highest number of contexts of interaction for a pair of individuals that was observed was 7.
Zachary, WW (1977). An Information Flow Model for Conflict and Fission in Small Groups. Journal of Anthropological Research, 33(4), 452-473.
Sociomatrix in machine-readable format was retrieved from http://vlado.fmf.uni-lj.si/pub/networks/data/ucinet/ucidata.htm.
Zachary, WW (1977). An Information Flow Model for Conflict and Fission in Small Groups. Journal of Anthropological Research, 33(4), 452-473.
data(zach)
oldpal <- palette()
palette(gray((1:8)/8))
plot(zach, vertex.col="role", displaylabels=TRUE, edge.col="contexts")
palette(oldpal)
# Fit a binomial-reference ERGM.
zach.fit1 <- ergm(zach~nonzero+sum+nodefactor("role",base=2)+absdiffcat("faction.id"),
response="contexts", reference=~Binomial(8))
mcmc.diagnostics(zach.fit1)
summary(zach.fit1)
## Not run:
# This is much slower.
zach.fit2 <- ergm(zach~nonzero+sum+nodefactor("role",base=2)+transitiveties,
response="contexts", reference=~Binomial(8),
eval.loglik=FALSE)
mcmc.diagnostics(zach.fit2)
summary(zach.fit2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.