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

Calculating Baserunner RAA #119

Open
judah-axelrod opened this issue May 28, 2020 · 1 comment
Open

Calculating Baserunner RAA #119

judah-axelrod opened this issue May 28, 2020 · 1 comment
Assignees
Labels

Comments

@judah-axelrod
Copy link

Hi, I'm trying to replicate OpenWAR calculations on my own to potentially incorporate data that wasn't available when this project started, and I'm not understanding the following step in the Baserunner RAA portion:

Looking at line 550 of makeWAR.R, you create a function "getCDF" to compute the empirical probabilities of every possible # of bases advanced in a given situation. But then the lagged cumulative probability is what gets merged back to the original dataset and used for the remainder of the RAA calculation.

Based on your journal article, I had thought κ was based on the probability of advancing at least as many bases as the runner actually did, but to me it seems the lag would represent the probability of advancing strictly less than the number of bases. Any clarity would be much appreciated. Thanks a lot.

@beanumber
Copy link
Owner

Hmm...thanks for contributing this @ballparkfigures . Both @gjm112 and @beanumber are struggling to find time under these circumstances, but we will look into this. We appreciate your interest in this work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants