Coder Social home page Coder Social logo

alibaheri / econscripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tazzben/econscripts

0.0 2.0 0.0 28.03 MB

Place to stick code for other economists.

JavaScript 2.53% Mathematica 4.89% TeX 11.69% PostScript 64.15% Python 15.71% R 0.47% Tcl 0.57%

econscripts's Introduction

Economics Scripts

My goal with this is repository is to provide some of my scripts that other economists might find useful. That said, these scripts come without warranty or support (but if you find a bug please let me know).

Thanks,

Ben Smith
Economist
University of Nebraska at Omaha

Optimization Scripts

The current optimization scripts are (all implemented in Python):

  • BFGS (Python)
  • Downhill Simplex (Python)
  • Newton's Method (Python)

All have example usage at the end of the respective file

Simulations

Current simulations are:

  • Gibbs Sampler from Multivariate Normal with Burn-In Feature (R Project)
  • EG Statistic which Simulates Critical Values for Geographic Clustering (Python - Current Research by Andrew Cassey and Ben Smith)

Calculate Distances

An extremely common problem in economics is finding the physical distances between the Cartesian product of a list of cities (all of the various combinations between each of those cities). This is important in particular in gravity models (which are common in trade). The included Mathematica code solves this problem.

Class

I've posted my slides for those who took my Python class. This explains the basics of programming and using NumPy and SciPy. Additionally, I've taught a class on LaTeX and Git. The handouts are under the the "Git and Latex Handouts" folder. The handout source is posted, and I purposely only loaded packages that I used and noted in the comments why I loaded them.

Helpful Links

Optimization Methods (Wikipedia):

Software:

econscripts's People

Watchers

James Cloos avatar Ali Baheri 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.