You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.
For the exercise solution for Job Search I: The McCall Search Model (mccall_model.ipynb), I'm wondering if the index is off when generating the random wage causing the estimated means to be off. The code segment is below
# Generate a wage draw
w_val = w[rand(dist)]
Since support(dist) is in 0,...,50 shouldn't it be w_val = w[rand(dist)+1] so that it matches the indices of w which go from 1,...,51?
The text was updated successfully, but these errors were encountered:
From having taken a look at the notebook I believe that is correct. Thanks for reporting it!
I saw that you had made a fork of the repository. The fix should be as you described (i.e., w_val = w[rand(dist)+1]). Would you like to open a PR with the fix?
Hello,
For the exercise solution for Job Search I: The McCall Search Model (
mccall_model.ipynb
), I'm wondering if the index is off when generating the random wage causing the estimated means to be off. The code segment is belowSince
support(dist)
is in 0,...,50 shouldn't it bew_val = w[rand(dist)+1]
so that it matches the indices ofw
which go from 1,...,51?The text was updated successfully, but these errors were encountered: