This is material for the SNA workshop at Melbourne Connect
Explore the data »
Explore the R-code »
Explore the Teaching material »
Report Bug
·
Request Feature
The workshop is built around a set of slides and a set of RMarkdown files, with accompanying data sets, that you will find here
The schedule for the SNA workshop
- Introduction to Social Network Analysis
- Introduction to Auto-logistic Actor Attribute Models
- Introduction to stochastic actor-oriented models (SAOMs)
- Modelling Social Influence and Selection with SAOM
- Advanced topics in SAOMs
For details on venue and timings see Eventbrite
By network data, we will assume data where we have observations on binary tie-variables among a fixed set of nodes. In a typical dataset, network ties will be elicited through name-generators,[1] such as
Anongs the people in your organisation, list the people that you go to for advice
There are many other ways in which to collect and `operationalise' network ties. Here we will not deal with network inference such as inferring causal graphs or other network represenations
There are plenty of tutorials and introductions to network analysis in R and we refer, for example to Borgatti et al (2022)[2] for a comprehensive treatment (see also the accompanyhing online supplementary material)
No particular R-skills are expected. You should be able to download the RMarkdown files and run them locally. The RMarkdown files will read any data straight from https://raw.githubusercontent.com/johankoskinen/CDHD-SNA/main/data/.
Examples of loading and formatting network data is provided in
Markdowns/Data-Formatting.Rmd
You will find it in CHDH-SNA/Markdowns
No fancy R-wrappers will be used and the code is written entirely in base R and Quick-R should be a sufficient source of help outside of Googling package specific issues. For the SAOM part of the workshop (sessions 2-4) the repository https://www.stats.ox.ac.uk/~snijders/siena/ contains all the resources you will ever need.
You will, however, need to come with a laptop with R and R-studio installed. In addition, you will want to install the packages
- sna
install.packages(sna)
- network
install.packages(network)
- RSiena
install.packages(RSiena)
If you need to update your version of R, a handy guide is provided here
- Install (R version 4.2.1 (2022-06-23) may be required)
- Install
- Download
CHDH-SNA-X.Rmd
(replace X by session number) - Explore RMarkdown by
- Stepping through code
- Knit to html or pdf for future reference
- Consult slide pack
Johan Koskinen - @drjohankoskinen - johan.koskinen@stat.su.se
Project Link: https://github.com/johankoskinen/CDHD-SNA
[1] Robins, G. (2015). Doing Social Networks Research: Network Research Design for Social Scientists. Los Angeles: Sage.
[2] Borgatti, S. P., Everett, M. G., Johnson, J. C., & Agneessens, F. (2022). Analyzing Social Networks Using R. Sage.