A code library for quantitative economic modeling in Python
Libary Website: http://quantecon.org/python_index.html
See the library website for instructions
Copyright © 2013-2017 Thomas J. Sargent and John Stachurski: BSD-3 All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- FEAT: Add random_state option to arma.py with tests. See PR #329
- FEAT: New features for timing functions. See PR #340
- Improved test coverage (PR #343)
- FEAT: Add option to supply a random seed for discrete_rv, lqcontrol, lqnash, lss, and quad (PR #346)
- FIX: RBLQ: add pure forecasting case (PR #355)
- FEAT: jit the 1d quadrature routines (PR #352)
- FIX: Replace
np.isfinite(cn)
withcn * EPS < 1
(PR #361) - FEAT: Add option to
solve_discrete_riccati
to usescipy.linalg.solve_discrete_are
(PR #362) - FIX: Bugfix to
solve_discrete_riccati
(PR #364) - Minor Fixes (PR #342)
- FIX: support_enumeration: Use
_numba_linalg_solve
. See PR #311 - Updated Docstrings for better math rendering. See PR #315
- ENH: added routines to convert ddp between full and SA formulations. See PR #318
- Added tests for Distributions. See PR #324
- Added tests for lemke howson exceptions. See PR #323
- Added vertex_enumeration to game theory module. See PR #326
- Added
is_dominated
method to game_theory.player. See PR #327 - Minor Updates (PR #320, PR #321, PR #328)
- Add rouwenhorst method for approx AR(1) with MC. See PR #282
- Added tests to improve coverage (PR #282, PR #303, PR #309)
- Minor Fixes (PR #296, PR #297)
- Add support_enumeration, a simple algorithm that computes all mixed-action Nash equilibria of a non-degenerate 2-player game. See PR #263
- Various fixes for issues with numba. See PR #265, PR #283
- Add lemke_howson algorithm to game_theory module. See PR #268
- Add random game generators to game_theory module. See PR #270
- Implement the imitation game algorithm by McLennan and Tourky. See PR #273
- Add brute force for finding pure nash equilibria. See PR #276
- Improve parameter names to QuantEcon.notebooks dependency fetcher. See PR #279
- Utilities
tic
,tac
andtoc
moved to top level namespace of package. See PR #280
- Remove
python2.7
classifiers project only supportspython3.5+
- Migrate
sa_indices
to be a utility function for the markov submodule - Updates
probvec
to include a multi-core parallel option using numba infrastructure inquantecon/random/utilities.py
- Minor changes to
NormalFormGame
. See PR #226 - Update
tauchen
code to make use of Numba. See PR #227 - Remove
Python 2.7
from test environment. Will support Python 3.5+ - Updated
qe.util.nb_fetch
to not overwrite files by default - Remove
num_actions
from DiscreteDP. See PR #236 - Add states/nodes to
MarkovChain
/DiGraph
. See PR #237 - Updated
DiscreteDP
to includebackward_induction
(DiscreteDP now accepts beta=1). See PR #244 Numba
is now a formal dependency.- Modified
tauchen
to return aMarkovChain
instance. See PR #250
- Adds the
quantecon/game_theory/
sub package - Updates api for using
distributions
as a moduleqe.distributions
- Removes
quantecon/models
subpackage and the collection of code examples. Code has been migrated to the QuantEcon.applications repository. - Adds a utility for fetching notebook dependencies from QuantEcon.applications to support community contributed notebooks.