Learn R Programming

RSiena (version 1.2-23)

s50s: Smoking data: excerpt from "Teenage Friends and Lifestyle Study" data

Description

Data from an excerpt of 50 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.

Arguments

Format

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.

References

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 http://www.stats.ox.ac.uk/~snijders/siena/s50_data.htm

See Also

s501, s502, s503, s50a

Examples

Run this code
# NOT RUN {
mynet <- sienaDependent(array(c(s501, s502, s503), dim=c(50, 50, 3)))
myvar <- varCovar(s50s)
mydata <- sienaDataCreate(mynet, myvar)
mydata
# }

Run the code above in your browser using DataLab