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. Mendez-Carbajo, Diego & Dellachiesa, Alejandro, 2023. "Choice of data visualization tool: FRED or spreadsheets?," International Review of Economics Education, Elsevier, vol. 44(C).
    2. 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(3), September.
    3. Depro, Brooks & Rouse, Kathryn, 2022. "Adapting the case method in an economics capstone research course," International Review of Economics Education, Elsevier, vol. 41(C).
    4. 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.
    5. Krügel, Jan Philipp & Paetzel, Fabian, 2024. "The impact of fraud on reputation systems," Games and Economic Behavior, Elsevier, vol. 144(C), pages 329-354.
    6. 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.
    7. Stefan Wager & Kuang Xu, 2021. "Experimenting in Equilibrium," Management Science, INFORMS, vol. 67(11), pages 6694-6715, November.
    8. 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.
    9. 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.
    10. Abraham K. Song, 2019. "The Digital Entrepreneurial Ecosystem—a critique and reconfiguration," Small Business Economics, Springer, vol. 53(3), pages 569-590, October.
    11. Stefan Wager & Kuang Xu, 2019. "Experimenting in Equilibrium," Papers 1903.02124, arXiv.org, revised Jun 2020.
    12. Larin, Sergey & Khrustalev, Evgeny & Ermakova, Yasmina, 2023. "Characteristics of markets for the creation of innovative products and their impact on the mechanisms of interaction between the subjects of the innovation infrastructure," MPRA Paper 119340, University Library of Munich, Germany, revised 28 Apr 2023.
    13. Jacobides, Michael G. & Cennamo, Carmelo & Gawer, Annabelle, 2024. "Externalities and complementarities in platforms and ecosystems: From structural solutions to endogenous failures," Research Policy, Elsevier, vol. 53(1).
    14. 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.
    15. 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).
    16. Rickard Nyman & Paul Ormerod, 2020. "Understanding the Great Recession Using Machine Learning Algorithms," Papers 2001.02115, arXiv.org.
    17. 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.
    18. 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.
    19. 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.
    20. Gary Charness & Brian Jabarian & John List, 2023. "Generation Next: Experimentation with AI," Artefactual Field Experiments 00777, The Field Experiments Website.

    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.