stats 3.0.0
stats: ^3.0.0 copied to clipboard
Calculate common statistical values for a set of numbers: max, min, mean, median, standard deviation, and standard error.
3.0.0 #
- Removed all deprecated members:
- Removed
LightStats. averagerenamed tomean.- Removed
medianeverywhere.
- Removed
Stats: ReplacedstandardDeviationwithsumOfSquaresStats: removed type parameter. Added more complexity than it was worth.ConfidenceIntervalnow builds from aStatsinstance instead of extending it.Statscan now be calculated from aStream<num>.Stats.transformerallows calculating updated stats on the fly.
2.2.0 #
- Added confidence internal logic:
ConfidenceIntervalclass andConfidenceLevelenum.- Added
confidenceIntervalextension toIterable<num>.
Stats: addedbesselCorrectionoptional parameter to constructors.- Added
assertcalls toLightStatsandStatsconstructors. - Changed the type of
LightStats.averageandStats.standardDeviationtodouble. - Deprecations:
LightStatswill be removed.averagedeprecated in favor ofmean.mediandeprecated everywhere.
- Require at least Dart 3.7
2.1.0 #
- Export
LightStats. - Require at least Dart 3.0
2.0.0 #
- Require at least Dart 2.12
- Null safety
1.0.1 #
- Allow
package:json_annotationv4.x.
1.0.0 #
- Added
LightStatsclass and corresponding extension.- Unlike
Stats, creatingLightStatsdoes not create and sort aListwith the entire source contents. It is "cheaper" to use, especially with large inputs.
- Unlike
Stats- Now has a type argument
<T extends num>. - implements
LightStats. - Added
fromSortedListfactory. standardErroris now an on-demand calculated property instead of a field.- Renamed
meantoaverage.
- Now has a type argument
- Added
Iterable<num>extensions:lightStats,stats,min,max,sumandaverage. - Require Dart SDK
>=2.7.0 <3.0.0.
0.2.0+3 #
- Support latest
package:json_annotation.
0.2.0+2 #
- Support latest
package:json_annotation.
0.2.0+1 #
- Fix readme.
0.2.0 #
- Initial release.