Skip to content

Comments

feat: Add biomedical statistical analysis module with Wilcoxon and Mann-Whitney tests#13541

Open
Brijesh03032001 wants to merge 2 commits intoTheAlgorithms:masterfrom
Brijesh03032001:add-biomedical-statistics
Open

feat: Add biomedical statistical analysis module with Wilcoxon and Mann-Whitney tests#13541
Brijesh03032001 wants to merge 2 commits intoTheAlgorithms:masterfrom
Brijesh03032001:add-biomedical-statistics

Conversation

@Brijesh03032001
Copy link

🧬 Biomedical Statistical Analysis Module

This PR adds a comprehensive biomedical statistics module implementing non-parametric statistical tests commonly used in medical research.

📊 Features Added:

  • Wilcoxon Signed-Rank Test for paired data analysis
  • Mann-Whitney U Test for independent group comparisons
  • Text-based visualizations with no external dependencies
  • 5 comprehensive biomedical examples
  • Extensive documentation with theory explanations

🔬 Use Cases:

  • Clinical trial analysis
  • Drug efficacy studies
  • Biomarker research
  • Treatment response assessment
  • Pain management studies

✅ Quality Assurance:

  • Pure Python implementation (no external dependencies)
  • Comprehensive error handling & input validation
  • Type hints throughout
  • Working examples and tests
  • Educational focus with clear explanations

📁 Files Added:

  • Biomedical/__init__.py - Module initialization
  • Biomedical/wilcoxon_test.py - Wilcoxon implementation
  • Biomedical/mann_whitney_test.py - Mann-Whitney implementation
  • Biomedical/statistical_visualizations.py - Visualization utilities
  • Biomedical/examples.py - Comprehensive examples
  • Biomedical/README.md - Documentation

Contributing to: Hacktoberfest 2025 🎃

Brijesh03032001 and others added 2 commits October 16, 2025 19:09
…nn-Whitney tests

- Implement Wilcoxon Signed-Rank Test for paired data analysis
- Implement Mann-Whitney U Test for independent group comparisons
- Add comprehensive text-based visualization utilities
- Include 5 detailed biomedical examples with real-world scenarios
- Provide extensive documentation and theory explanations
- Support effect size calculations and statistical interpretations
- Pure Python implementation with no external dependencies

Addresses common non-parametric statistical needs in biomedical research
including clinical trials, drug studies, and diagnostic biomarker analysis.
@algorithms-keeper algorithms-keeper bot added the tests are failing Do not merge until tests pass label Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests are failing Do not merge until tests pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant