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

Description Format Source References See Also Examples

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.

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.

Source

http://www.stats.ox.ac.uk/~snijders/siena/s50_data.zip

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

1
2
3
4
mynet <- sienaDependent(array(c(s501, s502, s503), dim=c(50, 50, 3)))
myvar <- varCovar(s50s)
mydata <- sienaDataCreate(mynet, myvar)
mydata

Example output

Warning message:
no DISPLAY variable so Tk is not available 
Dependent variables:  mynet 
Number of observations: 3 

Nodeset                  Actors 
Number of nodes              50 

Dependent variable mynet           
Type               oneMode         
Observations       3               
Nodeset            Actors          
Densities          0.046 0.047 0.05

Changing covariates:  myvar 

RSiena documentation built on Sept. 24, 2020, 3 p.m.