Skip to content

Conversation

@tompollard
Copy link
Owner

As discussed in #182, there was an issue with summary tables that were created when a level of a categorical variable was missing in one of the "group by" groups. This led to two main problems:

  • Inconsistent indexing across groups, which broke alignment during standardized mean difference (SMD) computation.
  • Dropped rows for category levels that existed in the full dataset, but were absent in some groups.

This pull request resolves issue #182 by ensuring that categorical variables are included in the summary table even when they are not present within a grouping.

@tompollard
Copy link
Owner Author

@LukeHankey if you have the opportunity, please could you check whether the changes in this branch satisfactorily address #182 ?

@tompollard tompollard merged commit 317a67b into main Apr 7, 2025
3 checks passed
@tompollard tompollard deleted the tp/issue_182 branch April 7, 2025 22:43
@tompollard tompollard mentioned this pull request Apr 8, 2025
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 this pull request may close these issues.

2 participants