Skip to content

How to draw toy MC? #2235

Answered by alexander-held
zjkjsd asked this question in Q&A
Jun 18, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

The key thing missing in your example @zjkjsd are the fluctuations of auxiliary data ("global observables"). For nuisance parameters with Gaussian constraints, the corresponding auxiliary data is drawn from Gaussians (that's where the Gaussian in @kratsg's 1. appears). If you look at the output of pyhf's implementation, you will see that both the counts per bin and the auxiliary data fluctuate.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alexander-held
Comment options

Answer selected by zjkjsd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants