Skip to content

NCRM SNA Short Course ERGM Cross-Sectional Analysis with Teenage Friends and Lifestyle Study (Glasgow)

License

Notifications You must be signed in to change notification settings

omiridoue/ergm-glasgow-teen-network

Repository files navigation

README

Teenage Friends and Lifestyle Study - Glasgow

(West and Sweeting 1995, Michell and Amos 1997, Pearson and Michell 2000, Pearson and West 2003)

Teenage Friends and Lifestyle Dataset

Recoded Variable Name Study Indicator Data Transformations
Smoking 1: Occasional or regular smokers; 0: Non-smokers or missing values (NA) Recoded to binary: 1 for smokers, 0 for non-smokers or missing
friendship.2 0: No friendship, 1: Close friendships, 2: Best friends Recoded to binary: 0 for no friendship, 1 for close friendships, 2 for best friends
Parent Smoking 1: Parent smokes; 0: Non-smokers or missing values (NA) Recoded to binary: 1 for parent smokers, 0 for non-smokers or missing
Geographic Distance Bee-line distance between students' home addresses in kilometers No transformation

Unless otherwise stated all base values for binary variable recodings are set to 0. Missing values are assumed to occur completely at random. All data for the application was extracted from Wave 2 of the study.

To navigate the files open the .md extensions to view the notebooks 1 and 2 for the data cleaning/visualisation and ERGM model run using statnet. The notebooks embed the code outputs where appropriate; however, the data is also included in a separate folder. Any model plots are attached as png files.

Acknowledgement:

Code for the application was adapted from the NCRM Social Network Analysis Short Course (Sept. 2023), all due acknowledgements are attributed to the course instructor, Dr. Michael Heaney.

About

NCRM SNA Short Course ERGM Cross-Sectional Analysis with Teenage Friends and Lifestyle Study (Glasgow)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published