-
Notifications
You must be signed in to change notification settings - Fork 136
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
Cohort Characterization - denominators for subgroups #2420
Comments
@alondhe |
@alondhe |
@ssuvorov-fls what I'm saying is that the proportions (percents) listed when using subgroups should use the size of the subgroup as the denominator. So if we have a cohort of COVID patients, and we split into subgroups of January, February, and March, the percents in the subgroup columns should be the number of patients with the feature divided by the number of patients with index in that subgroup's month. |
Code for creating cohort events
Code for creating table of persons events for subgroup
|
Not seeing this issue after re-testing with v2.10. |
Expected behavior
When using subgroups in cohort characterization, the denominators used for percents should be for each subgroup.
Actual behavior
When using cohort event date ranges as subgroups (Jan-Apr, May-July, etc), the percents are using the total cohort as the denominator rather than the subgroup patients.
Steps to reproduce behavior
Create a cohort characterization, add some features, and add some subgroups.
The text was updated successfully, but these errors were encountered: