Skip to content

ETACE/uncertainty_and_negative_wom_model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uncertainty and Negative Word-of-Mouth Model

Version: Aug 2025

This repository contains the Julia implementation of a model used to study the role of consumer uncertainty for NWoM’s impact on adoption dynamics.

Getting Started

These instructions will allow you to run the model on your system.

System Requirements and Installation

To run this code, you need to install Julia (version 1.11.2 recommended).

The following Julia packages are required (specific versions recommended for compatibility):

To install the required packages, start Julia and run:

using Pkg; Pkg.add("<package name>")

Alternatively, if the Project.toml is included, you can install all dependencies exactly as used in development:

using Pkg
Pkg.instantiate()

Model Structure and Execution

The core implementation of the model is located in the src/model/ directory. To run the model, an initial state must be defined. The baseline initialization is provided in src/config/init_monopoly.jl. The subset of data collected during a simulation run is configured via src/config/data_collection_monopoly.jl.

To run an experiment (i.e. multiple parallel simulation batches), execute run_exp.jl. Each experiment must be defined in a configuration file - see experiments/monopoly_goldenberg.jl for an example. Use the following command:

julia -p <no_cpus> run_exp.jl <name-of-config-file> [--chunk <i>] [--no_chunks <n>]
  • -p <no_cpus> : number of CPU cores to use in parallel
  • --chunk and --no_chunk: optional parameters to split the experiment into chunks, useful for distributed execution across multiple machines

Replication

To reproduce the results from the paper by re-simulating the model, use the following commands:

julia -p <no_cpus> run_exp.jl monopoly_goldenberg
julia -p <no_cpus> run_exp.jl monopoly_bayes
julia -p <no_cpus> run_exp.jl monopoly_cosita
julia -p <no_cpus> run_exp.jl monopoly_ws
julia -p <no_cpus> run_exp.jl monopoly_ba
julia -p <no_cpus> run_exp.jl monopoly_er
julia -p <no_cpus> run_exp.jl monopoly_mixed_cosita_bayes
julia -p <no_cpus> run_exp.jl monopoly_mixed_cosita_goldenberg
julia -p <no_cpus> run_exp.jl monopoly_mixed_emp

The resulting data will be stored in data/, which by default contains the data used to create the plots in the paper.

In order to recreate all plots from the paper, run:

julia plots_paper.jl

Empirical Data

We conducted a survey among German consumers. The original survey data (in xlsx file format) can be found in the data/ folder.

Authors

Herbert Dawid, Dirk Kohlweyer, Melina Schleef, Christian Stummer, Frederik Tolkmitt

Further Links

  • ETACE - Economic Theory and Computational Economics, Bielefeld University
  • ITM - Innovation and Technology Management, Bielefeld University

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages