Quantitative Economics (Python)
A code library for quantitative economic modeling in Python
Libary Website: http://quantecon.org/python_index.html
Installation
See the library website for instructions
Build and Coverage Status:
ReadTheDocs Status:
Gitter
Additional Links
License
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.
Major Changes
Ver 0.3.8 (14-March-2018)
- FEAT: Add random.draw. See PR #397
- FEAT: Add Numba jit version of scipy.special.comb. See PR #377
- FEAT: Add random_tournament_graph for game theory module. See PR #378
- MAINT: Implement Sigma_infinity and K_infinity as properties. See PR #396
- MAINT: Use
np.ix_
to extract submatrix. See PR #389 - MAINT: support_enumeration: Refactoring. See PR #384
- MAINT: pure_nash_brute: Add tol option. See PR #385
- MAINT: NormalFormGame: Add
payoff_arrays
attribute. See PR #382 - MAINT: Re-implement
next_k_array
; addk_array_rank
. See PR #379 - FIX: Fix tac, toc, loop_timer to return float. See PR #387
- FIX: Update to
scipy.special.com
. See PR #375 - DEPRECATE: remove models subpackage. See PR #383
- DOCS: Improvements to documentation. See PR #388
Contributors: oyamad, QBatista, mcsalgado, and okuchap
Ver 0.3.7 (01-November-2017)
- 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)
Ver 0.3.6.2 (27-August-2017)
- 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)
Ver 0.3.5.1 (17-May-2017)
- 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)
Ver. 0.3.4 (23-February-2017)
- 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
Ver. 0.3.3 (21-July-2016)
- 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
Ver. 0.3.2 (25-April-2016)
- 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
Ver. 0.3.1 (22-January-2016)
- Adds the
quantecon/game_theory/
sub package - Updates api for using
distributions
as a moduleqe.distributions
Ver. 0.3
- 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.