Giter Club home page Giter Club logo

Comments (6)

wupeifan avatar wupeifan commented on September 27, 2024

Yeah, that's a typo. Thanks for pointing it out.

from quantecon-notebooks-datascience.

wupeifan avatar wupeifan commented on September 27, 2024

updated, FYI

from quantecon-notebooks-datascience.

tiagobotelh0 avatar tiagobotelh0 commented on September 27, 2024

@wupeifan thanks for the update!

While we're at it, there seems to be another typo in that same notebook: lines 407-408 in the source blob read:

"In this case, because the conditional for the if statement was not\n",
"True, the if code block was not executed, but the else block was.\n",

but note that the 'if' conditional (val is False) must be True, since we have defined val to be the boolean 2 == 4. Indeed, when the code is run, its output prints the 'if' code block, but not the 'else' code block.

from quantecon-notebooks-datascience.

wupeifan avatar wupeifan commented on September 27, 2024

good catch. are there any more of those? so i don't have to update every time. thanks

from quantecon-notebooks-datascience.

tiagobotelh0 avatar tiagobotelh0 commented on September 27, 2024

There are a couple of other corrections to be made in this particular section.

  1. In Exercise 5, the markdown cell says r = 0.05 and w_hs = 40_000, but the code cell says r = 1.05 and w_hs = 35_000. While the discount rate in the code seems to be a typo, the choice of w_hs is more subtle: I solved for both values, and w_hs = 40_000 would imply that the student shouldn't enroll in college, whereas w_hs = 35_000 would imply that they should.

  2. It's not clear what exactly is meant by x in Exercises 8 and 9, since no array-like object with that name was defined in this lecture.

For now, those are all of my suggestions, though I have yet to read the other lectures in the next few days. Is it OK if I open another issue or point out more typos (if any exist) in the other lectures as well?

from quantecon-notebooks-datascience.

wupeifan avatar wupeifan commented on September 27, 2024

I think I fixed those two things in an earlier version. It must be I overrode some of them by accident.
Thanks for pointing out these typos.

from quantecon-notebooks-datascience.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.