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
. average
renamed tomean
.- Removed
median
everywhere.
- Removed
Stats
: ReplacedstandardDeviation
withsumOfSquares
Stats
: removed type parameter. Added more complexity than it was worth.ConfidenceInterval
now builds from aStats
instance instead of extending it.Stats
can now be calculated from aStream<num>
.Stats.transformer
allows calculating updated stats on the fly.
2.2.0 #
- Added confidence internal logic:
ConfidenceInterval
class andConfidenceLevel
enum.- Added
confidenceInterval
extension toIterable<num>
.
Stats
: addedbesselCorrection
optional parameter to constructors.- Added
assert
calls toLightStats
andStats
constructors. - Changed the type of
LightStats.average
andStats.standardDeviation
todouble
. - Deprecations:
LightStats
will be removed.average
deprecated in favor ofmean
.median
deprecated 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_annotation
v4.x
.
1.0.0 #
- Added
LightStats
class and corresponding extension.- Unlike
Stats
, creatingLightStats
does not create and sort aList
with 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
fromSortedList
factory. standardError
is now an on-demand calculated property instead of a field.- Renamed
mean
toaverage
.
- Now has a type argument
- Added
Iterable<num>
extensions:lightStats
,stats
,min
,max
,sum
andaverage
. - 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.