question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question: Mixed up on Neffective calculation (and Seffective)

See original GitHub issue

Short Description

These questions more stem from my confusion rather than a suggestion to change anything.

For the Effective N calculation, the docstring refers to Bayesian Data Analysis 3, equation 11.8. The book describes a split chain calculation, where M (chains) is 2x the number of chains created by the sampler, because each sampling chain is split in half. In the code it does not look like ArviZ implements any chain splitting.

However it seems like ArviZ implements Seffective which is detailed on avehtari’s blog in section 2.2.1

Does ArviZ implement S_Effective or N_Effective? Do ArviZ need to update the documentation to point to the blog post rather than BDA3? Should the calculation or method be renamed to az.s_effective?

Code Example or link

ArviZ codebase at the commit below https://github.com/arviz-devs/arviz/commit/0c173da1bec7bfcd0936b46c4fe38b9f7e0dfaf7

Relevant documentation or public examples

Provided inline above

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
aloctavodiacommented, Dec 25, 2018

Hi @canyon289 thanks for the reminder. I am on vacations right now. I will check this in a few days.

1reaction
ahartikainencommented, Dec 25, 2018

Also, after Stan updates and starts to recommend the rank normalized method, we should change too.

I think we can create a PR but merge it after it is the recommended way. Or all of this depends how we are going implement these functions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Calculating Probability where good parts get mixed ... - YouTube
We compare and contrast two examples where bad parts have gotten mixed with good parts. We learn, in such scenarios, how to calculate...
Read more >
Interleaving: How Mixed Practice Can Boost Learning
Interleaving is a learning technique that involves mixing together different topics or forms of practice, in order to facilitate learning.
Read more >
mixed strategy Nash equilibrium
A similar calculation shows that the Woman's payoff is the same. Thus, both do worse than coordinating on their less preferred outcome.
Read more >
Strategies for Solving Word Problems - The Teacher Next Door
Having a general idea of a ballpark answer for the problem lets students know if their actual answer is reasonable or not. This...
Read more >
Confounding and Effect Measure Modification - SPH
Confounding is a distortion (inaccuracy) in the estimated measure of association that occurs when the primary exposure of interest is mixed up with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found