Julia OLS: A Basic Example

In this post you will:

  1. Run a basic Ordinary Least Squares (OLS) regression in Julia language
  2. Time to complete should be less than 30 minutes
  3. Prerequisites: This post assumes that you have knowledge of the following post(s), in order:
    1. Installing Anaconda
    2. Installing Julia Language

Below you will see a Jupyter script that you first saw in the Installing Anaconda post. You can download the script (& sample data) at the bottom of this post, and reproduce the results. You will note that the example is very similar to the one for Python, which is helpful in comparison of syntax etc.


Julia Basic OLS
Size: 8kb
Version: 20190126
Published: January 26, 2019

Leave a Reply

Your email address will not be published. Required fields are marked *