Description
Add fundamental statistical functions and distributions to support differential expression (DE) analysis for single-cell data.
Objectives
- Implement core statistical building blocks needed for DE analysis
- Optimize for performance with sparse matrix operations
- Ensure numerical stability for single-cell data characteristics
Key Components to Implement
Statistical Tests
Multiple Testing Correction
Effect Size Calculation
Utility Functions
Integration Points
- Functions should operate directly on nalgebra sparse matrix types
- Implementations should support both f32 and f64 precision
- APIs should be consistent with existing
single-algebra functions
Technical Notes
- Consider integrating with existing matrix traits like
MatrixSum, MatrixVariance
- Implement traits for different statistical test categories for polymorphic usage
- Use generics for type flexibility