IDEAS home Printed from https://ideas.repec.org/a/eee/ireced/v38y2021ics1477388021000177.html
   My bibliography  Save this article

Using Python and Google Colab to teach undergraduate microeconomic theory

Author

Listed:
  • Kuroki, Masanori

Abstract

The author describes how to use the Python programming language to teach topics in a microeconomic theory course at the undergraduate level. Specifically, the author describes how to use Python to solve optimization problems, such as utility maximization and profit maximization. Python is free and open-source and becoming increasingly popular both in economics and in business. To focus on solving optimization problems and to avoid installation issues, the author utilizes Google Colab, which allows users to type Python code on a web browser. Program code is provided for every example to encourage replication and experimentation. The author aims to (1) provide an option to instructors who are interested in supplementing the traditional pencil-and-paper approach with technology at no cost, and (2) help students become comfortable with a programming language that is widely used in tech companies and data analysis.

Suggested Citation

  • Kuroki, Masanori, 2021. "Using Python and Google Colab to teach undergraduate microeconomic theory," International Review of Economics Education, Elsevier, vol. 38(C).
  • Handle: RePEc:eee:ireced:v:38:y:2021:i:c:s1477388021000177
    DOI: 10.1016/j.iree.2021.100225
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S1477388021000177
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.iree.2021.100225?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Susan Athey & Michael Luca, 2019. "Economists (and Economics) in Tech Companies," Journal of Economic Perspectives, American Economic Association, vol. 33(1), pages 209-230, Winter.
    2. Tomas Dvorak & Simon D. Halliday & Michael O’Hara & Aaron Swoboda, 2019. "Efficient empiricism: Streamlining teaching, research, and learning in empirical courses," The Journal of Economic Education, Taylor & Francis Journals, vol. 50(3), pages 242-257, July.
    3. Joachim Zietz, 2007. "Dynamic Programming: An Introduction by Example," The Journal of Economic Education, Taylor & Francis Journals, vol. 38(2), pages 165-186, April.
    4. Steven Batt & Tara Grealis & Oskar Harmon & Paul Tomolonis, 2020. "Learning Tableau: A data visualization tool," The Journal of Economic Education, Taylor & Francis Journals, vol. 51(3-4), pages 317-328, August.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Michael Lechner, 2023. "Causal Machine Learning and its use for public policy," Swiss Journal of Economics and Statistics, Springer;Swiss Society of Economics and Statistics, vol. 159(1), pages 1-15, December.
    2. Apostolos Filippas & John J. Horton & Richard J. Zeckhauser, 2020. "Owning, Using, and Renting: Some Simple Economics of the “Sharing Economy”," Management Science, INFORMS, vol. 66(9), pages 4152-4172, September.
    3. Gallin, Joshua & Molloy, Raven & Nielsen, Eric & Smith, Paul & Sommer, Kamila, 2021. "Measuring aggregate housing wealth: New insights from machine learning ☆," Journal of Housing Economics, Elsevier, vol. 51(C).
    4. Depro, Brooks & Rouse, Kathryn, 2022. "Adapting the case method in an economics capstone research course," International Review of Economics Education, Elsevier, vol. 41(C).
    5. Thomas V Maher & Charles Seguin & Yongjun Zhang & Andrew P Davis, 2020. "Social scientists’ testimony before Congress in the United States between 1946-2016, trends from a new dataset," PLOS ONE, Public Library of Science, vol. 15(3), pages 1-13, March.
    6. Rickard Nyman & Paul Ormerod, 2020. "Understanding the Great Recession Using Machine Learning Algorithms," Papers 2001.02115, arXiv.org.
    7. Brett R Gordon & Kinshuk Jerath & Zsolt Katona & Sridhar Narayanan & Jiwoong Shin & Kenneth C Wilbur, 2019. "Inefficiencies in Digital Advertising Markets," Papers 1912.09012, arXiv.org, revised Feb 2020.
    8. Shiyu Liu & Ou Liu & Junyang Chen, 2023. "A Review on Business Analytics: Definitions, Techniques, Applications and Challenges," Mathematics, MDPI, vol. 11(4), pages 1-20, February.
    9. Stefan Wager & Kuang Xu, 2021. "Experimenting in Equilibrium," Management Science, INFORMS, vol. 67(11), pages 6694-6715, November.
    10. Ward, Frank A., 2023. "Innovations for the Water Resource Economics Curriculum: Training the Next Generation," Applied Economics Teaching Resources (AETR), Agricultural and Applied Economics Association, vol. 5(2), April.
    11. Valentiny, Pál, 2024. "Mennyire innovatívak a Big Tech vállalatok? [How innovative are Big Tech companies?]," Közgazdasági Szemle (Economic Review - monthly of the Hungarian Academy of Sciences), Közgazdasági Szemle Alapítvány (Economic Review Foundation), vol. 0(1), pages 22-56.
    12. Deshpande, Advait, 2020. "The potential influence of machine learning and data science on the future of economics: Overview of highly-cited research," SocArXiv 9nh8g, Center for Open Science.
    13. Gary Charness & Brian Jabarian & John List, 2023. "Generation Next: Experimentation with AI," Artefactual Field Experiments 00777, The Field Experiments Website.
    14. Gružauskas Valentas & Čalnerytė Dalia & Fyleris Tautvydas & Kriščiūnas Andrius, 2021. "Application of Multivariate Time Series Cluster Analysis to Regional Socioeconomic Indicators of Municipalities," Real Estate Management and Valuation, Sciendo, vol. 29(3), pages 39-51, September.
    15. Bessen, James & Impink, Stephen Michael & Reichensperger, Lydia & Seamans, Robert, 2022. "The role of data for AI startup growth," Research Policy, Elsevier, vol. 51(5).
    16. Greiff, Matthias & Paetzel, Fabian, 2020. "Information about average evaluations spurs cooperation: An experiment on noisy reputation systems," Journal of Economic Behavior & Organization, Elsevier, vol. 180(C), pages 334-356.
    17. Nicolas Petit & David J Teece, 2021. "Innovating Big Tech firms and competition policy: favoring dynamic over static competition [Patterns of industrial innovation]," Industrial and Corporate Change, Oxford University Press and the Associazione ICC, vol. 30(5), pages 1168-1198.
    18. Michael G Jacobides & Ioannis Lianos, 2021. "Regulating platforms and ecosystems: an introduction [Ecosystem as structure: an actionable construct for strategy]," Industrial and Corporate Change, Oxford University Press and the Associazione ICC, vol. 30(5), pages 1131-1142.
    19. Krügel, Jan Philipp & Paetzel, Fabian, 2021. "The Impact of Fake Reviews on Reputation Systems and Efficiency," VfS Annual Conference 2021 (Virtual Conference): Climate Economics 242415, Verein für Socialpolitik / German Economic Association.
    20. Abraham K. Song, 2019. "The Digital Entrepreneurial Ecosystem—a critique and reconfiguration," Small Business Economics, Springer, vol. 53(3), pages 569-590, October.

    More about this item

    Keywords

    Python; Programming; Microeconomics; Quantitative economics; Teaching;
    All these keywords.

    JEL classification:

    • A22 - General Economics and Teaching - - Economic Education and Teaching of Economics - - - Undergraduate
    • C61 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Optimization Techniques; Programming Models; Dynamic Analysis

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:ireced:v:38:y:2021:i:c:s1477388021000177. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/international-review-of-economics-education .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.