s50s | R Documentation |
Smoking data from an excerpt of the network, alcohol consumption, and smoking data for 50 randomly chosen girls from the Teenage Friends and Lifestyle Study data set. Useful as a small example of network and behaviour, for which models can be fitted quickly, and for which there are no missing values.
A matrix of variables relating to the smoking habits for the actors in the network. Three columns, one for each time point. Coding is 1–3: 1 = no smoking, 2 = moderate smoking, 3 = serious smoking.
https://www.stats.ox.ac.uk/~snijders/siena/s50_data.zip
West, P. and Sweeting, H. (1995), Background Rationale and Design of the West of Scotland 11-16 Study. Working Paper No. 52. MRC Medical Sociology Unit Glasgow.
See https://www.stats.ox.ac.uk/~snijders/siena/s50_data.htm
s501
, s502
, s503
, s50a
mynet <- sienaDependent(array(c(s501, s502, s503), dim=c(50, 50, 3)))
myvar <- varCovar(s50s)
mydata <- sienaDataCreate(mynet, myvar)
mydata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.