kish_log_effective_sample_size¶
- kish_log_effective_sample_size(ln_weights)[source]¶
Calculate the Kish effective sample size from the natural-log weights
See https://en.wikipedia.org/wiki/Effective_sample_size for details
- Parameters:
- ln_weights: array
An array of the ln-weights
- Returns:
- ln_n_eff:
The natural-log of the effective sample size