Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDD: think about centering of running variable and priors #73

Open
drbenvincent opened this issue Nov 17, 2022 · 0 comments
Open

RDD: think about centering of running variable and priors #73

drbenvincent opened this issue Nov 17, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@drbenvincent
Copy link
Collaborator

drbenvincent commented Nov 17, 2022

People often centre the running variable, such that the threshold is at zero. This will change the parameters which is very relevant for the Bayesian model because of the priors. The advantages of centering the running variable are that:

  • the parameters are easier to interpret
  • the coefficient for the main effect of treatment is always(?) equal to the discontinuity at threshold.

While we might not escape the need for custom priors (when the time comes; for example on the intercept parameter), centering the running variable might make things easier. So need to think about doing this automatically, or simply making the user aware of the issues. If we do, then the treatment_threshold kwarg should be removed and hard-wired to zero.

My initial feeling is to not enforce centering, rely upon the users understanding, and provide the information in the docs and examples.

@drbenvincent drbenvincent added this to the Stabilise the feature set milestone Dec 5, 2022
@drbenvincent drbenvincent added enhancement New feature or request documentation Improvements or additions to documentation labels Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant