Scientific Computing#

This section discusses several key aspects of scientific computing that enable modern economics, data science, and statistics.

As the size of our data and the complexity of our models have increased (and continue doing so), we have become more reliant on computers to perform computations that we simply cannot do by hand.

In this section, we will cover

  • Python’s main numerical library numpy and how to work with its array type.

  • A basic introduction to visualizing data with matplotlib.

  • A refresher on some key linear algebra concepts.

  • A review of basic probability concepts and how to use simulation in learning economics.

  • Using a computer to perform optimization.

Many of the tools learned in this section will continue to show up throughout the pandas and applications sections.

Warning

This section has more formal math than the previous material (and there will be more math as you cover certain methods).

We expect that students’ mathematical backgrounds will range widely, so for those who have slightly less preparation, please don’t let this scare you.

We have found that although understanding these tools will require some extra effort, it will give you a leg up in almost any career you might consider.

Introduction to Numpy#

Plotting#

Applied Linear Algebra#

Randomness#

Optimization#