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

Ability to split by both policy and calendar years simultaneously #20

Closed
MatthewCaseres opened this issue Jan 31, 2023 · 1 comment · Fixed by #41
Closed

Ability to split by both policy and calendar years simultaneously #20

MatthewCaseres opened this issue Jan 31, 2023 · 1 comment · Fixed by #41

Comments

@MatthewCaseres
Copy link

Is this something that has any benefit? The main use case I can think of is doing both policy and calendar year aggregations on the same dataframe. But I suppose these aggregations can be done with two dataframes.

Unsure if it is possible to an analysis on both simultaneously (grouping by both policy years and calendar years) because there would be so much truncation.

Is this feature worth the effort and additional complexity?

@mattheaphy
Copy link
Owner

It might be useful for some folks. I've done an implementation of this in the past. The upside is a single data frame as you said. The downside is that it can lead to confusion or incorrect assumptions about exposures, especially when the decrement of interest is fully exposed.

Let's keep this issue open as something to look at in the future.

@mattheaphy mattheaphy linked a pull request Nov 19, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants