Computational Model Library

Agent-based model of risk behavior in adolescence (version 1.1.0)

The present model is a combination of a discrete dynamical systems and an agent based model. The formal model consists of a number of coupled equations and decision rules that work in an iterative way. Our model consists of agents with individual property matrices for: behavior, similarity, preference, mutuality, interaction, interaction value, popularity and evaluation. The agents can perform two types of behaviors, namely conventional behaviors (i.e., study, sports and work) and risk behaviors (i.e., use of alcohol, display of aggressiveness and use of soft drugs). The proportional distribution of these properties determines if the agents have a risky, conventional or average lifestyle. The properties behavior and similarity are divided into perceived and real behavior and perceived and real similarity respectively.

To start working with the model, it is best to read the user manual first . If you want to get started soon using the model, have a look at the section Getting started (using the model).

Note that the Excel file makes use of Visual Basic routines which contain the equations of the simulation model, and several other functions used to run the model or to calculate results. You must have Visual Basic for Applications installed in your version of Excel, but a standard PC installation of Excel also installs Visual Basic automatically. To run the model, you must be able to run macros and ActiveX controls. Check your security settings (see section on Excel Macro Security for Excel 2007 or Later in the user manual). While opening the file an excel security warning will appear. Click on “Options…” and say “Enable this content” (enables macros and ActiveX).

Since the model is using a call to Visual Basic, it does not run on Mac computers. If you want to check the code, you can do so by opening Visual Basic in the Excel from the Developer menu tab.

model_image_user_manual.png

Release Notes

Version 2.46

Version Submitter First published Last modified Status
1.1.0 N Schuhmacher Mon Apr 8 20:43:17 2019 Mon Apr 8 20:43:17 2019 Published

Discussion

This website uses cookies and Google Analytics to help us track user engagement and improve our site. If you'd like to know more information about what data we collect and why, please see our data privacy policy. If you continue to use this site, you consent to our use of cookies.