AnalyseMCMC
Analyse gravitational-wave parameter-estimation results from SPINspiral and lalinference_mcmc
|
Compute statistics for analyseMCMC. More...
Functions/Subroutines | |
subroutine | statistics (exitcode) |
Compute basic statistics for analyseMCMC. More... | |
subroutine | save_stats (exitcode) |
Determine the number of points to use for the computation of R-hat Since we need a fixed number of points for all chains, take nn = the minimum of (the length of each chain after the burn-in) and use the last nn data points of each chain. More... | |
subroutine | save_bayes (exitcode) |
Save Bayes-factor statistics to file. More... | |
subroutine | save_cbc_wiki_data (ic) |
Save data in CBC wiki format. More... | |
subroutine | compute_mixing (mynn, print_data) |
Compute mixing (R-hat) for multiple chains. Use unwrapped data. More... | |
subroutine | compute_autocorrelations () |
Determine the number of points to use for the computation of R-hat Since we need a fixed number of points for all chains, take nn = the minimum of (the length of each chain after the burn-in) and use the last nn data points of each chain. More... | |
Compute statistics for analyseMCMC.
subroutine statistics | ( | integer, intent(out) | exitcode | ) |
Compute basic statistics for analyseMCMC.
exitcode | Exit status code |
References compute_autocorrelations(), compute_mixing(), revper(), save_cbc_wiki_data(), and set_derivedparameternames().
Referenced by analysemcmc().
subroutine save_stats | ( | integer, intent(out) | exitcode | ) |
Determine the number of points to use for the computation of R-hat Since we need a fixed number of points for all chains, take nn = the minimum of (the length of each chain after the burn-in) and use the last nn data points of each chain.
Save statistics to file
exitcode | Exit status code |
Referenced by analysemcmc().
subroutine save_bayes | ( | integer, intent(out) | exitcode | ) |
Save Bayes-factor statistics to file.
exitcode | Exit status code |
Referenced by analysemcmc().
subroutine save_cbc_wiki_data | ( | integer, intent(in) | ic | ) |
Save data in CBC wiki format.
ic | Chain number |
References rev2pi(), and rrevpi().
Referenced by statistics().
subroutine compute_mixing | ( | integer, intent(in) | mynn, |
logical, intent(in) | print_data | ||
) |
Compute mixing (R-hat) for multiple chains. Use unwrapped data.
mynn | Number of iterations to compute Rhat for. Use nn=0 for full chains. The last nn data points are used. |
print_data | Print results or not. |
Referenced by statistics().
subroutine compute_autocorrelations | ( | ) |
Determine the number of points to use for the computation of R-hat Since we need a fixed number of points for all chains, take nn = the minimum of (the length of each chain after the burn-in) and use the last nn data points of each chain.
Compute autocorrelations
Referenced by statistics().