Skip to content

Rejection sampling doc#40

Merged
danmcgraw94 merged 2 commits into
mainfrom
rejection_sampling_doc
May 18, 2026
Merged

Rejection sampling doc#40
danmcgraw94 merged 2 commits into
mainfrom
rejection_sampling_doc

Conversation

@danmcgraw94
Copy link
Copy Markdown
Collaborator

Description

Fixed bug with pmf_stage > pmf_mean. Replaced with abs() to prevent undefined results from log(mean - shift). Added flexibility for higher or lower shift. Added support for 3 stage input (best, low, high) as well. In this case, sigma is calculated from the three stages

Related Issue

Closes #39

…ndefined results and flexibility for higher or lower shift. Added support for 3 stage input (best, low, high) as well. In this case, sigma is calculated from the three
@danmcgraw94 danmcgraw94 merged commit 5cefe47 into main May 18, 2026
6 checks passed
@danmcgraw94 danmcgraw94 deleted the rejection_sampling_doc branch May 18, 2026 18:24
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.

Rejection Sampling - PMF Mean and Shift Bug

1 participant