data(faux.desert.high)
faux.desert.high
is a network
object with 107 vertices
(students, in this case) and 439 directed edges (friendship nominations). To
obtain additional summary information about it, type
summary(faux.desert.high)
. The vertex attributes are Grade
, Sex
, and Race
. The Grade
attribute has values 7 through 12, indicating each student's grade in school.
The Race
attribute is based on the answers to
two questions, one on Hispanic identity and one on race, and takes six possible
values:
White (non-Hisp.), Black (non-Hisp.), Hispanic, Asian
(non-Hisp.), Native American, and Other (non-Hisp.) ergm
model was fit to the original data: desert.fit <- ergm(original.net ~ edges + mutual + absdiff("grade") + nodefactor("race", base=5) + nodefactor("grade", base=3) + nodefactor("sex") + nodematch("race", diff = TRUE) + nodematch("grade", diff = TRUE) + nodematch("sex", diff = FALSE) + idegree(0:1) + odegree(0:1) + gwesp(0.1,fixed=T), constraints = ~bd(maxout=10), control = control.ergm(MCMLE.steplength = .25, MCMC.burnin = 100000, MCMC.interval = 10000, MCMC.samplesize = 2500, MCMLE.maxit = 100), verbose=T)Then the faux.desert.high dataset was created by simulating a single network from the above model fit:
faux.desert.high <- simulate(desert.fit, nsim=1, burnin=1e+8, constraint = "edges")
Resnick M.D., Bearman, P.S., Blum R.W. et al. (1997). Protecting adolescents from harm. Findings from the National Longitudinal Study on Adolescent Health, Journal of the American Medical Association, 278: 823-32.
network
, plot.network
,
ergm
, faux.desert.high
,
faux.mesa.high
, faux.magnolia.high