Skip to content

Link ar1_turningpts to ar1_bayes and improve exposition#969

Merged
mmcky merged 1 commit into
mainfrom
ar1-turningpts-linking
Jul 16, 2026
Merged

Link ar1_turningpts to ar1_bayes and improve exposition#969
mmcky merged 1 commit into
mainfrom
ar1-turningpts-linking

Conversation

@jstac

@jstac jstac commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Better links ar1_turningpts (Forecasting an AR(1) Process) with ar1_bayes (Posterior Distributions for AR(1) Parameters), and tightens the lecture's beginning and (previously abrupt) ending.

Redone on top of the numpyro/JAX rewrite of ar1_turningpts (#584) — supersedes #967, which was based on the old PyMC version and had become unmergeable.

Changes

Cross-linking

  • ar1_turningpts now references ar1_bayes in the overview, model setup, and posterior section, and treats the posterior construction more briefly rather than re-deriving it.
  • Frames the posterior computation as the conditioning assumption of ar1_bayes — apt here, since the initial path starts from an atypical y_0 = 10.
  • Added a forward {seealso} from ar1_bayes back to ar1_turningpts.

Exposition

  • Matched the AR(1) model introduction to the bulleted style used in ar1_bayes (and IID rather than i.i.d.).
  • Added a Conclusion and interpretive text after the original/extended Wecker figures, tying results back to the two sources of uncertainty promised in the overview (fixes the abrupt ending).

Note

The rewrite (#584) already defines N_t and already captions every figure via mystnb, so two fixes from #967 are no longer needed here.

🤖 Generated with Claude Code

Redone on top of the numpyro/JAX rewrite of ar1_turningpts (#584).

- Cross-reference ar1_bayes from ar1_turningpts (overview, model setup,
  and posterior section) and add a forward {seealso} link back
- Frame the posterior computation as the "conditioning assumption" of
  ar1_bayes, apt here since the path starts from an atypical y_0
- Match the AR(1) model introduction to the bulleted style of ar1_bayes
  (and write IID rather than i.i.d.)
- Add a Conclusion and interpretation for the original/extended Wecker
  figures, tying back to the two sources of uncertainty

Note: N_t is already defined and figures already use MyST captions in
the rewritten lecture, so those earlier fixes are no longer needed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jstac

jstac commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

@mmcky This should be good to merge when green.

@github-actions

Copy link
Copy Markdown

📖 Netlify Preview Ready!

Preview URL: https://pr-969--sunny-cactus-210e3e.netlify.app

Commit: 5980a31

📚 Changed Lectures


Build Info

@mmcky

mmcky commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

thanks @jstac -- merging now.

@mmcky
mmcky merged commit 59c6877 into main Jul 16, 2026
1 check passed
@mmcky
mmcky deleted the ar1-turningpts-linking branch July 16, 2026 06:40
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

Successfully merging this pull request may close these issues.

2 participants