Gaussian-Gaussian conjugate prior - #43
Merged
affeldt-aist merged 4 commits intoAug 3, 2026
Merged
Conversation
affeldt-aist
force-pushed
the
normal_20260426
branch
from
June 28, 2026 16:49
7fbd8bf to
ffbac63
Compare
affeldt-aist
force-pushed
the
gaussian_conjugate_20260605
branch
from
June 28, 2026 17:05
bf44e87 to
9bf8da8
Compare
| by rewrite mulr_gt0// exprn_even_gt0. | ||
| Qed. | ||
|
|
||
| Definition mean_post (mu0 : R) sigma0 x sigma : R := |
Owner
There was a problem hiding this comment.
Shouldn't this be called stdmean_post? (On the model of stddev_post)
Author
There was a problem hiding this comment.
Here stddev is just short for "standard deviation" (sqrt of the variance).
Owner
|
Do you have a reference? I would like to double-check my producing a LaTeX formula for the documentation. |
Developed with the assistance of Claude Opus 4.8 and Fable 5 (1M context). Co-authored-by: Reynald Affeldt <reynald.affeldt@aist.go.jp>
affeldt-aist
force-pushed
the
gaussian_conjugate_20260605
branch
from
June 28, 2026 18:02
bab3b5e to
7f8cbb0
Compare
Author
|
Thanks for the review! |
Author
|
I double checked the latex doc, and it looks good to me. It's a specialization of the table formula with only one observation x (n = 1, and the sum over x_i is replaced by a single x). |
affeldt-aist
merged commit Aug 3, 2026
6d5712e
into
affeldt-aist:normal_20260426
14 of 18 checks passed
affeldt-aist
added a commit
that referenced
this pull request
Aug 3, 2026
* add Gaussian-Gaussian conjugate prior Developed with the assistance of Claude Opus 4.8 and Fable 5 (1M context). --------- Co-authored-by: Reynald Affeldt <reynald.affeldt@aist.go.jp>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Developed with the assistance of Claude Opus 4.8 and Fable 5 (1M context).
Motivation for this change
Adds the Gaussian–Gaussian conjugate prior: the posterior of theta given X = x is a Gaussian,
normal_prob (mean_post ..) (stddev_post ..)(Lemmanormal_prob_conjugate).Things done/to do
CHANGELOG_UNRELEASED.md(do not edit former entries, only append new ones, be careful:
merge and rebase have a tendency to mess up
CHANGELOG_UNRELEASED.md)Automatic note to reviewers
Read this Checklist and put a milestone if possible.