Giter VIP home page Giter VIP logo

demandsim's Introduction

### Work in progress --- Not yet usable

This package allows the simulation of flexible, complex discrete choice demand systems for multiple products.

The simulation does not adhere to popular demand systems like BLP that can be structurally estimated. It allows more flexibility, e.g. reference dependent price preferences. The goal is to study via Monte-Carlo simulations how well we can estimate local price elasticities (own price elasticities and cross-price elasticities) with price experiments possibly also using Machine Learning methods like Double-Lasso or Orthogonal Machine Learning.  

We have products $j= 1,...,J$ in markets $m = 1, ... , M$. Markets can be differentiated by time, place or simply by randomly chosen customer groups in an AB experiment of an online shop. Not all products may be available in all markets.

We have consumer types $i= 1,...,I$, who have different preferences over products. Each consumer type can have a different number of consumers $N(i,m)$ in each market $m$. A single consumer is indexed by $n$.


The utility function of a consumer is given by:

$$\begin{eqnarray}
U_{j,m,i,n} = & \lambda_{j}(x_{j,m}) +  \lambda_{j,i}(x_{j,m}) + \\
& \psi^{abs}_i(p_{j,m}) + \psi^{ref}_i(p_{j,m}, p_{m}) +\\
& \varepsilon_{j} + \varepsilon_{j,m} + \varepsilon_{j,i} + \varepsilon_{j,m,i} + \varepsilon_{j,m,i,n}
\end{eqnarray}$$

demandsim's People

Contributors

skranz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.