Skip to content
Tools to compute and visualize economic models
Branch: master
Clone or download
Latest commit 99b89f1 Apr 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R adequando a pedidos do CRAN Apr 2, 2019
man adequando a pedidos do CRAN Apr 2, 2019
.Rbuildignore Update .Rbuildignore Apr 3, 2019
.gitignore . Jan 13, 2019
.travis.yml Update .travis.yml Mar 24, 2019
DESCRIPTION atualizei citações Apr 4, 2019
LICENSE Create LICENSE Apr 3, 2019
NAMESPACE consolidei os arquivos de funções Mar 18, 2019
README.md Update README.md Apr 19, 2019
economics101.Rproj
teoria.tex Update teoria.tex Apr 16, 2019

README.md

Build Status

GitHub

GitHub release

Rdoc

Recon - Computational Tools for Economics

This package aims to provide undergraduate students and professors realiable ways of computing and exploring canonical models in economics. It creates a rich enviroment for comparative statics, visualization of results and better understanding of model outcomes.

Installation

You can install the latest version of Recon by running:

install.packages('devtools')
devtools::install_github('pedrocava/Recon')

## or directly from CRAN

install.packages('Recon')

Which should return something similar to:

Installing package intoC:/Users/Pedro/Documents/R/win-library/3.5’
(aslibis unspecified)
* installing *source* package 'Recon' ...
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'Recon'
    finding HTML links ... done
    MRW_steady_state                        html  
    cobb_douglas                            html  
    cobb_douglas_2                          html  
    cournot_solver                          html  
    grid2                                   html  
    monopoly_solver                         html  
    sim_mixed_nasheq                        html  
    sim_pure_nasheq                         html  
    solow_steady_state                      html  
    stackelberg_solver                      html  
** building package indices
** testing if installed package can be loaded
*** arch - i386
*** arch - x64
* DONE (Recon)
In R CMD INSTALL

Please note that you should have Rtools installed.

Features by theme

To get a general view of what's implemented in Recon directly from R you can run:

help(package = Recon)

Economic Growth

  • Steady state solution to the model presented in Solow (1956)
  • Steady state solution to the model presented in Mankiw, Romer and Weil (1992)

Cobb-Douglas Functions

  • Computing Cobb-Douglas functions with 2 inputs
  • Computing Cobb-Douglas functions with $n$-inputs

Miscellaneous

  • Grid generating function, so one can map results easily

Game Theory

  • Finds the Pure Strategies Nash Equilibrium of a 2 person simultaneous game
  • Finds the Mixed Strategies Nash Equilibrium of a 2 person simultaneous game, for 2x2 pay-off matrices

Imperfect Competition

  • Solution to a Cournot Duopoly Model, with linear and non-linear cost and demand curves
  • Solution to a Stackelberg Duopoly Model, with non-linear cost curves
  • Solution to Monopoly Profit Maximization

Upcoming Features and Suggestions

Feel free to ask/suggest a model for implementation. If you want to implement one youself, fork this repo and then do a pull request with your new functions. After reviewing, you'll be credited and your functions will be part of Recon. Features that are currently under work:

  • Solution to a Bertrand Duopoly Model with differentiated goods
  • Solution to a Cournot Oligpoly with n firms and homogenous cost functions

Citation

To cite package ‘Recon’ in publications use:

Pedro Cavalcante Oliveira, Diego S. Cardoso and Marcelo Gelati (2019). Recon: Computational Tools for Economics. R package version 0.1.0.0. https://CRAN.R-project.org/package=Recon

A BibTeX entry for LaTeX users is:

  @Manual{,
    title = {Recon: Computational Tools for Economics},
    author = {Pedro {Cavalcante Oliveira} and Diego {S. Cardoso} and Marcelo Gelati},
    year = {2019},
    note = {R package version 0.1.0.0},
    url = {https://CRAN.R-project.org/package=Recon},
  }
You can’t perform that action at this time.