Julia in VS Code
We will be working with the Julia programming language this semester. I like Julia because it is good with linear algebra and also let’s us do Monte Carlo simulations quite smoothly. Also, it’s free!
Preparing your computer
To prepare your computer for the semester, follow these steps:
Go to https://julialang.org/downloads and install the latest version of Julia on your machine.
(Random note: If your computer runs on Windows 7, use Julia version 1.5.x)
Go to https://code.visualstudio.com/download and install VS Code on your machine.
Open VS Code and install the
Juliaextension and the
Jupyterextension. (It’s easy to install extensions within VS Code, just have a look through the documentation.)
If you like, write me (Juergen) an email and let me know if and how it worked. Definitely drop me a line if you haven’t been successful!
The Julia notebook for week 2 will be posted here soon. Once you have a working Julia environment in VS Code, you can try and see if you are able to open the notebook file.
Open it in VS Code.
Continue your work on last week’s notebook. Once you’re done, work on this:
Finish your work on last week’s notebook. Once you’re done, work on this:
This week you will continue your work on the WLLN and you will also simulate the central limit theorem.
This week you will revisit Card’s earnings/schooling data set and do some IV estimation.
This week you will run some Monte Carlo simulations. We’re creating our own data set and see how close the estimator is to the true parameter (of our own choosing).
Continue your Monte Carlo simulations from last week.
This week’s lab is very similar to your computational assignment.
This week you are coding an MLE optimization problem.
This week you are implementing probit/logit estimation of limited dependent variable models.