6 Clustering
Unit 6: Thursday 4/3, Thursday 4/10, Tuesday 4/15, Thursday 4/17.
Assignments 1-4 are due Friday 4/18 at 5pm. At this time, answer keys are published on blackboard, so no late work is accepted for any reason.
Extra Credit Project
Use ChatGPT to develop a clicker game like universal paperclips to teach Principles of Microeconomics concepts.
- HTML example teaching marginal benefit/marginal cost: Dwarf Bar Clicker. My ChatGPT prompt: Create an html clicker game called “Dwarf at the Bar” where a dwarf is sitting at a bar and ordering mugs of mead. They have $500 in their wallet. A mug of mead is a random price in (3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 10, 10, 11, 11, 12), updating every 2 seconds. Satiation increases by 5 each mug of beer. Have a timer counting down from 1 minute. The game ends at the end of 1 minute, and your final score is your total satiation plus the money left in your wallet. At the end of the game, say what your score is. Add a “restart game” button after the game has ended.
- Another example: Dwarf House Repairs
Ideas:
- Consumer Theory
- Job matching game with job offers and search costs
- Work/Leisure tradeoff (get promoted from Pickaxe Apprentice to Miner to Gem Cutter to Shift Foreman to Mine Captain to Mine Lord)
- Producer Theory: Mine Lord
- Input ratios/cost minimization
- Profit maximization (MB = MC)
- Economies of scale
- Market power
- Monopoly pricing
Cartels- Oligopolies: cournot competition
- Price discrimination
- Mayor of the township: maintain a high approval rating and balance the budget
Taxes and Elasticity (Laffer curve)- Subsidies
- Public goods
Tragedy of the commonsResource depletionPrice controls- Negative externalities
- Lord of the Land: deliver on campaign promises, increase the GDP per capita
Healthcare and education- Lower pollution
Tariffs and trade agreements- Immigration
- Patents
Natural disasters- Inequality and redistribution
You will present your work with your group on the last day of class: May 1.
Assignment | Date | Template |
---|---|---|
6.1 Principal Components Regression | 4/3 | qmd |
6.2 Data Visualization with Principal Component Analysis | 4/10 | qmd |
6.3 K-Means Clustering | 4/15 | qmd |
6.4 Hierarchical Clustering | 4/17 | qmd |