Skip to content

Hierarchical bayesian modeling code to fit a 4 hyper-parameter binary population model to KPI detections and sensitivity (though applicable to other methods)

License

Notifications You must be signed in to change notification settings

smfactor/HBMBinaryPop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HBMBinaryPop

Hierarchical bayesian modeling code to fit a 4 hyper-parameter binary population model to KPI detections and sensitivity (though applicable to other methods)

Requiers:

astropy
corner
emcee
matplotlib
numpy
scipy
tqdm

Code is split up into two notebooks, the first, binPop.ipynb, takes the detections and sensitivity grids as input and fits a 4 parameter population model using emcee. The second, binPop-figs.ipynb, takes the posterior samples generated in the first notebook and generates pretty figures (seen in Factor & Kraus 2023).

About

Hierarchical bayesian modeling code to fit a 4 hyper-parameter binary population model to KPI detections and sensitivity (though applicable to other methods)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published