Closed shlff closed 4 years ago
Thanks @shlff , I think that the statement of first random device "If a head consecutively occurs k
or more times within this sequence" still needs to say "If a head consecutively occurs k
or more times within this sequence at least once", otherwise it would be confusing about whether we should set payoff equals 1+1 =2 when {head, head, head, tail, head, head, head, head, tail, tail} occurs.
Thanks @shlff , I think that the statement of first random device "If a head consecutively occurs
k
or more times within this sequence" still needs to say "If a head consecutively occursk
or more times within this sequence at least once", otherwise it would be confusing about whether we should set payoff equals 1+1 =2 when {head, head, head, tail, head, head, head, head, tail, tail} occurs.
Thanks, @sayaikegawa . I think that is a good idea. I will take your suggestion.
Good afternoon, @jstac . Here's the ipynb
file compiled from the rst
file of lecture [functions] with all changes made in this PR. Thanks for your comments and @sayaikegawa 's. Now I am confident that this PR is ready to merge.
Would you mind reviewing these changes and confirm it? Have a nice day!
Very good PR. Nice work @shlff and @sayaikegawa
Reverts QuantEcon/lecture-source-py#948
Thanks for your work, @sayaikegawa .
Hi @jstac , @sayaikegawa and I had a discussion about this change this morning, and we found that , in the lecture, the
Exercise 3
and itssolution code
do not match with these new changes, where thesolution code
implies thatIf a head occurs consecutively k or more times within this sequence, pay one dollar.
, while theExercise 3
with these new changes says thatIf a head occurs more than k times consecutively within this sequence at least once, pay one dollar.
We are going to re-modify the statement in
Exercise 3
a little bit to match the code. Do you think it is a good idea?