Jack DeWeese Computer Systems Research Lab. Purpose  Originally intended to create my own simulation with easily modified variables  Halfway through.

Slides:



Advertisements
Similar presentations
Design of Experiments Lecture I
Advertisements

New Mexico Computer Science For All Designing and Running Simulations Maureen Psaila-Dombrowski.
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Introduction to Computer Programming in C
An Agent-Based Model of Recurring Epidemics in a Population with Quarantine Capabilities Brendan Greenley Period 3.
Joe Dinius ECE Oct  Introduction  Review of the Literature  Hypotheses  Model Description  Parameters  Results  Sensitivity Analysis.
Resampling techniques Why resampling? Jacknife Cross-validation Bootstrap Examples of application of bootstrap.
Simple Linear Regression
Preventing Smallpox Epidemics Using a Computational Model By Chintan Hossain and Hiren Patel.
The Calibration Process
Marketing Information and Research
Simple Linear Regression. Introduction In Chapters 17 to 19, we examine the relationship between interval variables via a mathematical equation. The motivation.
Forecasting using trend analysis
Inference for regression - Simple linear regression
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Commercial Database Applications Testing. Test Plan Testing Strategy Testing Planning Testing Design (covered in other modules) Unit Testing (covered.
Graphical Analysis. Why Graph Data? Graphical methods Require very little training Easy to use Massive amounts of data can be presented more readily Can.
Emerging Infectious Disease: A Computational Multi-agent Model.
Implementation Yaodong Bi. Introduction to Implementation Purposes of Implementation – Plan the system integrations required in each iteration – Distribute.
 1  Outline  stages and topics in simulation  generation of random variates.
Analytical vs. Numerical Minimization Each experimental data point, l, has an error, ε l, associated with it ‣ Difference between the experimentally measured.
Simulation of the Spread of a Virus Throughout Interacting Populations with Varying Degrees and Methods of Vaccination Jack DeWeese After doing some research.
1 Science as a Process Chapter 1 Section 2. 2 Objectives  Explain how science is different from other forms of human endeavor.  Identify the steps that.
Product Evaluation & Quality Improvement. Overview Objectives Background Materials Procedure Report Closing.
Software Construction Lecture 18 Software Testing.
Lecture 8 Simple Linear Regression (cont.). Section Objectives: Statistical model for linear regression Data for simple linear regression Estimation.
Simulation is the process of studying the behavior of a real system by using a model that replicates the behavior of the system under different scenarios.
Multiple Regression Petter Mostad Review: Simple linear regression We define a model where are independent (normally distributed) with equal.
MARE 250 Dr. Jason Turner Multiple Regression. y Linear Regression y = b 0 + b 1 x y = dependent variable b 0 + b 1 = are constants b 0 = y intercept.
Solving Quadratic Equations – Part 1 Methods for solving quadratic equations : 1. Taking the square root of both sides ( simple equations ) 2. Factoring.
Chapter 5 Parameter estimation. What is sample inference? Distinguish between managerial & financial accounting. Understand how managers can use accounting.
PROCESSING, ANALYSIS & INTERPRETATION OF DATA
MACHINE LEARNING 8. Clustering. Motivation Based on E ALPAYDIN 2004 Introduction to Machine Learning © The MIT Press (V1.1) 2  Classification problem:
Chapter 13 Multiple Regression
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 13-1 Introduction to Regression Analysis Regression analysis is used.
Notes 1.3 (Part 1) An Overview of Statistics. What you will learn 1. How to design a statistical study 2. How to collect data by taking a census, using.
Supported by the Hungarian Research Found (OTKA T049013) Consistency controlled future generating models Mapping Time and Space for checking environmental.
28. Multiple regression The Practice of Statistics in the Life Sciences Second Edition.
An Agent Epidemic Model Toward a general model. Objectives n An epidemic is any attribute that is passed from one person to others in society è disease,
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Machine Learning 5. Parametric Methods.
RESEARCH IN PSYCHOLOGY. BASIC VS. APPLIED Basic Seeking knowledge for the sake of knowledge itself “pure” research How do children and adults differ in.
Simulation of the Spread of a Virus Throughout Interacting Populations with Varying Degrees and Methods of Vaccination Jack DeWeese Computer Systems Lab.
Ch1 Larson/Farber 1 1 Elementary Statistics Larson Farber Introduction to Statistics As you view these slides be sure to have paper, pencil, a calculator.
S IMULATION OF THE S PREAD OF A V IRUS T HROUGHOUT I NTERACTING P OPULATIONS WITH V ARYING L EVELS AND T ARGETS OF V ACCINATION Jack DeWeese Computer Systems.
ALGORITHMS AND FLOWCHARTS. Why Algorithm is needed? 2 Computer Program ? Set of instructions to perform some specific task Is Program itself a Software.
FACTS Placement Optimization For Multi-Line Contignecies Josh Wilkerson November 30, 2005.
An Overview of Statistics Section 1.1 After you see the slides for each section, do the Try It Yourself problems in your text for that section to see if.
Bias-Variance Analysis in Regression  True function is y = f(x) +  where  is normally distributed with zero mean and standard deviation .  Given a.
Methods of multivariate analysis Ing. Jozef Palkovič, PhD.
Line fitting.
1 Linear Regression Model. 2 Types of Regression Models.
Chapter 13 Simple Linear Regression
Program design Program Design Process has 2 phases:
Chapter 14 Introduction to Multiple Regression
OPERATING SYSTEMS CS 3502 Fall 2017
Regression Analysis Module 3.
ALGORITHMS AND FLOWCHARTS
CSE 4705 Artificial Intelligence
Object oriented system development life cycle
Constructive Cost Model
Statistical Methods For Engineers
CHAPTER 29: Multiple Regression*
Inferences and Conclusions from Data
Programming.
MECH 3550 : Simulation & Visualization
Manufacture Part Search Template Overview
Presentation transcript:

Jack DeWeese Computer Systems Research Lab

Purpose  Originally intended to create my own simulation with easily modified variables  Halfway through the year, switched to a more professional virus simulation software as a base for my own  Time constraints limited this development  Moved to finding ideal percentage of mass vaccination

Expectations  Program will accept wide range of variables: Viruses: ○ Rate of infection ○ Length of incubation, infection Population: ○ Number of total people, people vaccinated ○ Age

Additions to Original Program  Hospitals Sick people have a chance of going to the hospital when sick Value of chance adjustable according to severity of disease  Vaccination Percentage of population immune  Iterative data output Produces collections of data with varying population sizes, number of people vaccinated

Program Description  Every day everyone goes to their assigned workplace (with the exception of those who stay home if they are sick and as a result “decide” to stay home)  At each time step, chance of infection is used to determine if nearby agents will become infected and those already infected die if they have reached the end of the virus’ time span

Program Description (cont.)  Hospitals are included to add more detail to the simulation Isolates some infected people and concentrates the virus  Vaccination is merely a simple random mass vaccination (trace vaccination requires more advanced coding than was possible in the allowed timeframe)

Program Description (cont.)  Based on the MASON software platform used as a generic base for agent-based models (Java)  Jill Dunham created SIS/SIR/SEIR Epidemic Demonstration  Built off this to add additional features and create output features for mathematical models

Program Sample Run Very simple test runs (40 people) Visual model used for debugging

Problems Encountered  Time available for work, late start  Processing power of computer  Output features somewhat manual

Procedure  Ran hundreds of iterations of the simulation for data collection  Iterated over the variables of population size (consistent map size  variable population density) and percentage of population vaccinated  Program compiled results into averages  Excel performed quadratic regression to create formulas for simulation results

 Gives the total number of deaths or number infected:  ‘x’ is the number of people vaccinated  ‘r v ’ is the percentage of deaths/infection from vaccination  ‘r(x)’ is the number of deaths/infection as a result of the virus Minimizing Deaths/Infection

Minimizing Deaths/Infection (cont.)  To minimize overall deaths/infection, take the derivative of ‘f(x)’ and set equal to zero:

Fitting ‘r(x)’ to the Data  Used a quadratic model regression to produce the coefficients in ‘r(x)’ for each population size:

Deaths vs. Vaccinated Population of 300

Minimizing Deaths/Infection (cont.)  Solving for ‘x’:

Generalizing ‘r(x)’ to Population Size ‘n’  After gathering the results of the ‘r(x)’ models for populations sizes 50 through 450 in increments of 50, used a quadratic regression on the coefficients of x 2 and x terms of ‘r(x)’

Generalizing ‘r(x)’ to Population Size ‘n’ (cont.) β 1 (n) = -2(10) -5 n n β 2 (n) = -5(10) -8 n 2 + 2(10)

Other Variables  Iterations used to produce the previous data and regression models included population size only  Variables that can be easily incremented to produce similar models are: Population density Set of variables for virus (e.g. duration of infection) Size of households, workplaces Number of hospitals

Results  Program can now be used to model not only a given set of variables, but also a range of variables to produce a model that is a function of any given set of variables

Results (cont.)  Ex: To find the ideal number of people to vaccinate in a population with population parameters size n and density ρ, and virus parameters v k

Next Steps  To take this program further would require a more automated process of performing the quadratic regression models normally done in Excel  A more user-friendly input is also needed without programming experience