image thumbnail


버전 1.0 (22.3 MB) 작성자: Scott Payne
simulate the spread of a virus through social contacts modeled on a real social network

다운로드 수: 98

업데이트 날짜: 2020/6/24

GitHub에서 호스트

GitHub에서 라이선스 보기

This simulation package is intended as a tool for experimenting with different models of social contact and social distancing as a virus spreads through a population. The virus model we use is basically an SIR model that updates daily based on simulated daily contacts between individuals. The properties of our virus model were parameterized to roughly approximate the behavior of the novel coronavirus SARS-CoV-2 as per what has been observed so far in the literature.

We used real social network data taken from a US college in 2005 to build a model of social interaction that mimicks daily life on a college campus, with weekends being more social and friend groups, housing assignment, and classyear driving the underlying probabilities of individuals interacting. The groups of close friends (there are 659) were determined using a new method of community detection we call Automated Quasi-clique Merger (AQCM) (publication in preparation, and some mathematical support currently under review for publication). The college network has 3826 individuals.

The demo video included illustrates the simulation. To begin using the package it is necessary to follow through the example simulations in the folder EXAMPLE_1. You will need to start with the file EXAMPLE_1_readme.m to understand how the modeling tools are used and how we created the example simulation. There is a "verbose version" of the main simulation script that provides more detailed documentation.

The parameters that control the behavior of the social interaction models and the virus models can be manually adjusted from inside the modeling functions. IMPORTANT TO NOTE is that THIS PACKAGE DOES NOT INTEND TO ACCURATELY PREDICT OUTCOMES IN COVID-19 SCENARIOS. The parameters in these models have been manually tuned to create a simulation that appears to be roughly correct, and good enough to roughly compare different scenarios of social distancing. We are making this package publically available at this time in order that social and medical scientists can build models for their purposes and tune them for various research purposes. In its current state the models in this package provide good examples of the differences between outcomes resulting from different models of social interaction (see EXAMPLE_1). It is for this purpose of comparing scenarios that we find the tools here most useful.

인용 양식

Scott Payne (2022). social_interaction_network_virus_model (, GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2018a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.