statistics
1.2.2, released 3 months ago by an unverified publisher
Statistics package for data manipulation, mathematical functions, and Bayesian Networks.
What it does
Provides tools for statistical computations, Bayesian Networks, high-precision arithmetic (Decimal and DynamicInt), and CSV generation.
AI-written summary of version 1.2.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to compute mean, median, standard deviation, and other statistics on numeric collections.
- You need to build and query Bayesian Networks for probability analysis.
- You require high-precision decimal and integer arithmetic to avoid floating-point inaccuracies.
Skip it when
- You need full-fledged data science or machine learning models beyond Bayesian Networks.
- You require complex chart rendering or UI components for your statistics.
Strengths
- Includes built-in Bayesian Network support with variable dependency and event monitoring.
- High-precision arithmetic classes (Decimal, DynamicInt) that expand precision dynamically.
- Numeric extensions for rapid statistical calculations and CSV generation.
Weaknesses
- Limited to statistical calculations, Bayesian networks, and high-precision math tools.
- Not documented for advanced charting or data visualization.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
import 'package:statistics/statistics.dart';
void main() {
var ns = [10, 20.0, 30];
var mean = ns.mean;
print('mean: $mean');
}Alternatives
Packages that do the same job and could replace statistics.
- ml_linalg
SIMD-based linear algebra and statistics library for Dart.
80Compare - fastforge
Tool for packaging and publishing Flutter applications with support for multiple formats and platforms.
80Compare - matrix2d
Mathematical 2D array functions and manipulations inspired by NumPy
50Compare - comprehensive_utils
A collection of performance-oriented tools, widgets, stream helpers, and numeric types.
63Compare
Works with
Packages commonly used together with statistics: ones it builds on, ones built on it, and its own family.
- intlstatistics depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- bones_apiBuilt on statisticsA powerful API backend framework for Dart with HTTP server, routing, SQL translator, and DB adapters.
- bones_uiBuilt on statisticsAn intuitive and user-friendly Web User Interface framework for Dart.
- carp_mobile_sensingBuilt on statisticsMobile sensing framework for collecting sensor and device data via configurable probes.