Code Monkey home page Code Monkey logo

compeconfoundations's Introduction

Foundations of Computational Economics

This is a repository where I translate the code of Fedor Iskhakov's Foundations of Computational Economics from Python to Julia. I will try and journal progress as far as possible. This is very much a side project, so it will probably take longer than anticipated.

Session 1

The general idea for this process is to gain an understanding of the key differences between Python and Julia, while also learning some new computational methods along the way. I will also try and track my hours for this, so that I don't spend too much time solving problems.

  • Mostly done with the replication of the Lecture 30 on the cake eating problem. TODO: Plotting.
  • Learned about the getindex function and how to use in combination with argmax.
  • Learned how to create a mask with respect to arrays, quite useful.
  • Finished the numbers exercise (Lecture 3) and learned about the Decimals.jl package.
  • Read through the lecture on types (Lecture 4). All of this is pretty standard and easy to implement in Julia. have worked through this type of material before, so nothing surprising.
  • The ! operator works on Booleans, functions and missing values. Similar to not in Python when it comes to Boolean values. Its operation on functions is mutation, if I remember correctly.

Session 2

Started with the session on function approximation. Have worked through much of this material in other courses before.

  • Learned how to construct helper functions for plotting.
  • Learned about the different types of interpolation packages in Julia, which includes Interpolations.jl.

Session 3

Started with the session on the cake eating problem with discretized choice (Lecture 32)

  • Learned about the Julia implementation of np.newaxis. In the creation of the consumption matrix, only had to broadcast on the transpose of the matrix. Much easier than the previous way that I tried to do this in Lecture 30.
  • Basic structure of Lecture 32 laid out. TODO: Complete Lecture 32.
  • Started with Lecture 35, skipped Lecture 33 and 34 for now. However, will come back to these.

Session 4

Trying to cover some of the earlier sessions. Most of the first few sessions are quite easy. There are many similarities between Python and Julia. Should not conceptually be difficult for someone to switch between the languages.

compeconfoundations's People

Contributors

dawievlill avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.