GithubHelp home page GithubHelp logo

knut0815 / rustmodels.jl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from benconnault/rustmodels.jl

0.0 0.0 0.0 141 KB

Dynamic Discrete Choice Models with or without unobserved state variables

License: Other

Julia 100.00%

rustmodels.jl's Introduction

RustModels.jl

[WORK IN PROGRESS]

This package provides tools to work with the dynamic discrete choice models of Economics. Dynamic discrete choice models are closely related to Markov decision processes. They describe how an individual makes repeated decisions as a state variable evolves and his decisions impact the evolution of the state. Some fundamental parameters describing the individual's preferences are unknown to the analyst who tries to infer them from observing states and decisions.

This package enforces a set of assumptions that have been found to provide a good trade-off between model flexibility and tractability of the analysis. Models following these assumptions are often referred to as Rust models, after a beautiful published article by John Rust [John Rust 1987 Econometrica: Optimal replacement of GMC bus engines: An empirical model of Harold Zurcher]. This package covers two types of models:

  • Classical Rust models: States and decisions are fully observed. Probabilistically speaking, the data follows a Markov chain whose transition matrix is constrained by an economic model of choice. As used in [Rust 1987] and elsewhere.

  • Hidden Rust models: The state has an observed component and an unobserved component. Probabilistically speaking, the data follows something similar to a Hidden Markov model, with transition matrices constrained by the same economic model of choice. Hidden Rust models allow for much richer dynamics (such as serially correlated unobserved state variables) without loosing too much of the tractability of classical Rust models.

I (Ben Connault, package author, hi!) studied hidden Rust models in my thesis, feel free to check it out on my webpage.

Installation

julia> Pkg.clone("git://github.com/BenConnault/RustModels.jl.git")

Overview

Rust models have two layers:

  • An economic layer: going back and forth between the deep parameterization and the dynamics (the transition matrices). Known as "solving the dynamic program" (deep parameters -> transition matrices) and "2-step projecting" or "minim distance projecting" (transition matrices -> deep parameters). This part is common for both classical and hidden Rust models and handled by RustModels.jl.

  • A statistical layer: going back and forth between the dynamics (the transition matrices) and the data. This part is different for classical and hidden Rust models. Hidden Rust models have hidden-Markov-type dynamics which are handled externally by DynamicDiscreteModels.jl. Classical Rust models have much simpler plain Markov dynamics which are handled internally for now.

rustmodels.jl's People

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.