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

Correct/clarify ?growth_rate regarding h #574

Open
brookslogan opened this issue Nov 28, 2024 · 0 comments
Open

Correct/clarify ?growth_rate regarding h #574

brookslogan opened this issue Nov 28, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@brookslogan
Copy link
Contributor

        • "rel_change": uses (B/A - 1) / h, where B is the average of
          'y' over the second half of a sliding window of bandwidth h
          centered at the reference point 'x0', and A the average over
          the first half. This can be seen as using a first-difference
          approximation to the derivative.

"/ h" and "second half of a sliding window of bandwidth h" seem incompatible. It appears that "/ h" is true if x are evenly spaced with no gaps (maybe with some compatibility assumptions about different arithmetic operations on x vs on indices of x). And it seems like "second half of a sliding window of bandwidth h" should involve "2h".

@brookslogan brookslogan added the documentation Improvements or additions to documentation label Nov 28, 2024
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
Projects
None yet
Development

No branches or pull requests

1 participant