Skip to content

[intro_supply_demand] Improvement suggestions #358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 3 tasks
HumphreyYang opened this issue Feb 12, 2024 · 1 comment
Open
1 of 3 tasks

[intro_supply_demand] Improvement suggestions #358

HumphreyYang opened this issue Feb 12, 2024 · 1 comment
Labels
enhancement New feature or request reading-group-2024

Comments

@HumphreyYang
Copy link
Collaborator

HumphreyYang commented Feb 12, 2024

This PR collects feedback from the reading group on intro_supply_demand.

Code

  • Remove classes and use NamedTuple
  • Add more explanation and comments on functions we used in the exercise scipy.optimize.minimize_scalar and scipy.optimize.newton

Content

  • Explain willingness to pay and the actual price. We can add a visualization showing consumers' willingness to pay and calculate the discrepancy to the actual price (Can we run a simulation?).
@HumphreyYang HumphreyYang added the enhancement New feature or request label Feb 12, 2024
@jstac
Copy link
Contributor

jstac commented Feb 12, 2024

Thanks @HumphreyYang, nice summary.

We can add a visualization showing consumers' willingness to pay and calculate the discrepancy to the actual price

Perhaps we could do this with a discrete bar graph first, so that readers can understand the integral is just an approximation of a sum.

Also, could have an introductory discussion of integration as computing area under a curve, and provide the simple integration rules that we are going to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request reading-group-2024
Projects
None yet
Development

No branches or pull requests

2 participants