Skip to content

DIffusion MOdels R Analysis. R package for diffusion model statistical analysis

License

Notifications You must be signed in to change notification settings

ZiliottoFilippoDev/DIMORA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Preview

DIMORA

R library for diffusion model analysis. DIMORA (DIffusion MOdels R Analysis) is a statistical package that allows the analysis of diffusion data using different models, among the most used and useful. The need for this package arises from the lack of a similar tool in R, the idea is therefore to provide a platform that allows the most in-depth analysis of the diffusion data. Version 0.3.6

visitor badge Forks Stargazers Issues MIT License LinkedIn

Getting started

The implemented methods are: Standard Bass model, Generalized Bass model (with rectangular shock, exponential shock, and mixed shock. You can choose to add from 1 to 3 shocks), Guseo-Guidolin model and Variable Potential Market model, and UCRCD model. The Bass model consists of a simple differential equation that describes the process of how new products get adopted in a population, the Generalized Bass model is a generalization of the Bass model in which there is a "carrier" function x(t) that allows to change the speed of time sliding. In some real processes the reachable potential of the resource available in a temporal instant may appear to be not constant over time, because of this we use Variable Potential Market model, in which the Guseo-Guidolin has a particular specification for the market function. The UCRCD model (Unbalanced Competition and Regime Change Diachronic) is a diffusion model used to capture the dynamics of the competitive or collaborative transition.

Prerequisites

R (version >= 3.1.0)

Dependencies (automatically installed via install.packages)

minpack.lm, numDeriv, stats, forecast, ggplot2, reshape2, deSolve

Install

From Rstudio or Jupyter notebook

install.packages('DIMORA') 
library(DIMORA)

Or cloning the Github repository to access files

$ git clone https://github.com/ZiliottoFilippoDev/DIMORA.git
$ cd DIMORA
$ cd R

Usage

Bass model usage example

data(DBdimora)
data <- DBdimora$iPhone[7:52]
model <- BM(data, display=T)
plot(model, type = 'all', oos = 20)

Plot example

License

Distributed under the GPL-3.0 License. See LICENSE.md for more information.

Any Issue or Bug? Please let us Know!

Create a new issue in the appropriate GitHub section, so we will be able to verify and correct all the material :)

Contact

svandrea97@gmail.com

filippo.ziliotto1996@gmail.com

References

Guidolin, M. (2023). Innovation Diffusion Models: Theory and Practice, First Edition. John Wiley & Sons Ltd.

Documentation

CRAN package