OpenEconometrics

Microeconomics

Consumer choice, production, markets, strategic interaction and welfare. Each of the 20 labs pairs an economic question with synthetic data and a complete Python analysis you can run in OpenEconometrics.

Microeconomics labs

  1. Lab 01

    Scarcity and Increasing Opportunity Cost

    Why does producing more of X require an increasing sacrifice of Y?

    11 min read

  2. Lab 02

    Comparative Advantage and Trading Prices

    Can both economies gain from trade even when productivity comparisons differ by good?

    11 min read

  3. Lab 03

    Market Equilibrium and a Demand Shift

    How does a demand shift differ from moving along a demand curve?

    11 min read

  4. Lab 04

    Point Elasticity and Total Revenue

    When does raising price increase revenue?

    10 min read

  5. Lab 05

    A Budget Line and Cobb–Douglas Choice

    How do preferences and a budget determine a consumption bundle?

    11 min read

  6. Lab 06

    Income and Price Comparative Statics

    What changes when income rises, and what changes when only one price rises?

    10 min read

  7. Lab 07

    Separating Substitution and Income Effects

    How much of a price response reflects substitution rather than lost purchasing power?

    9 min read

  8. Lab 08

    Affordability and Revealed Preference

    What can observed choices reveal when another bundle was affordable?

    10 min read

  9. Lab 09

    Marginal Product and Labor Demand

    When should a firm stop adding labor to a fixed technology?

    10 min read

  10. Lab 10

    Total, Average and Marginal Cost

    Why does marginal cost cross average cost at its minimum?

    9 min read

  11. Lab 11

    Cost Minimization with Two Inputs

    How can a firm produce a fixed output at minimum cost?

    11 min read

  12. Lab 12

    Competitive Supply and Shutdown

    Why might a firm produce while making a loss?

    10 min read

  13. Lab 13

    Monopoly Output, Markup and Welfare

    Why does a monopolist restrict output relative to a competitive benchmark?

    10 min read

  14. Lab 14

    A Binding Price Ceiling and Rationing

    How can a lower legal price reduce total gains from trade?

    10 min read

  15. Lab 15

    A Unit Tax: Incidence and Deadweight Loss

    Who bears a tax when the legal remitter is the seller?

    10 min read

  16. Lab 16

    A Producer Subsidy and Overproduction

    Can buyers and sellers both gain while total surplus falls?

    10 min read

  17. Lab 17

    An External Cost and a Corrective Tax

    How does an unpriced external cost change efficient output?

    10 min read

  18. Lab 18

    Vertical Summation for a Public Good

    Why are public-good marginal benefits added vertically?

    10 min read

  19. Lab 19

    Cournot Competition and the Number of Firms

    How does strategic quantity competition change with the number of firms?

    10 min read

  20. Lab 20

    From a Demand Model to an Estimated Elasticity

    How can a log-demand coefficient be interpreted without confusing identification and fit?

    10 min read

Try it on your own data

OpenEconometrics is free and open source under Apache 2.0. Install the Python library or download the desktop alpha.

Download Desktop App pip install openecon