Skip to content
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

Resources/Rethinking_2/Chp_04.ipynb #152

Open
jdw8 opened this issue Jun 1, 2021 · 0 comments
Open

Resources/Rethinking_2/Chp_04.ipynb #152

jdw8 opened this issue Jun 1, 2021 · 0 comments

Comments

@jdw8
Copy link

jdw8 commented Jun 1, 2021

Resources/Rethinking_2/Chp_04.ipynb

block 4:
sns.distplot(x[1:4, :], kde_kws={"bw": 0.01}, ax=ax[0], hist=False)
sns.distplot(x[1:8, :], kde_kws={"bw": 0.01}, ax=ax[1], hist=False)
sns.distplot(x[1:, :], kde_kws={"bw": 0.01}, ax=ax[2], hist=False)

should be
sns.distplot(x[4, :], kde_kws={"bw": 0.01}, ax=ax[0], hist=False)
sns.distplot(x[8, :], kde_kws={"bw": 0.01}, ax=ax[1], hist=False)
sns.distplot(x[16, :], kde_kws={"bw": 0.01}, ax=ax[2], hist=False)

to show where the random walk ends up at the end of 4, 8, and 16 steps
rather than show each step. It makes the graphs look too heavy in the
center as it is.

percevalve pushed a commit to percevalve/pymc-resources that referenced this issue Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant