SkillAgentSearch skills...

Sdartistics

A statistics library written in Dart.

Install / Use

/learn @runkaiz/Sdartistics
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<!-- This README describes the package. If you publish this package to pub.dev, this README's contents appear on the landing page for your package. For information about how to write a good package README, see the guide for [writing package pages](https://dart.dev/guides/libraries/writing-package-pages). For general information about developing packages, see the Dart guide for [creating packages](https://dart.dev/guides/libraries/create-library-packages) and the Flutter guide for [developing packages and plugins](https://flutter.dev/developing-packages). -->

Dart CI codecov

Sdartistics

A statistics package written in Dart. This package powers SP2S.

Features

  • [ ] Utility
    • [x] double roundDouble(double value, [int places = 1])
  • [x] Sample Descriptives
    • [x] Count for n
    • [x] Calculate sum
    • [x] Central tendency: mean, mode, median
    • [x] Simple range: min, max
    • [x] Dispersion: variance, standard deviation, coefficient of variation, range
    • [x] Shape: skewness, kurtosis, excess kurtosis
    • [x] Frequency for values
  • [ ] Test Statistics
    • [ ] Discrete
      • [ ] Binomial test
      • [ ] Chi-square goodness-of-fit test
      • [ ] Chi-square test
      • [ ] Fisher's exact test
      • [ ] McNemar's test
    • [ ] Continuous
      • [ ] One-sample T-test
      • [ ] Two independent samples T-test
      • [ ] Two paired samples T-test
      • [ ] Wilcoxon rank-sum test
      • [ ] Kruskal Wallis
      • [ ] Wilcoxon signed ranks test
      • [ ] One-way ANOVA
  • [ ] Correlation and Linear Regression
    • [ ] Pearson's product-moment correlation
    • [ ] Spearman's rank correlation
    • [ ] General linear models
    • [ ] Generalized linear models
  • [ ] Provide data for graphs

Getting started

Install the Dart SDK on your development machine, then clone this project and begin hacking!

Usage

  • [ ] See /example folder for more details.
Future<void> main() async {
  final df = await Table.fromCsv('datasets/incomplete.csv');
  df.print();

  final double var1_mean = SampleDescriptives.mean(df.colRecords<int>('variable_1'));
  print(roundDouble(var1_mean, 2)) //2.67
}

Additional information

Some commands to run during development:

Generate Documentation

foo@bar:~$ dartdoc --output docs

I used the alias command in Linux so that the command ddg would produce the same results, the extra flag is added for GitHub Pages compatibility.

Related Skills

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated1y ago
Forks0

Languages

Dart

Security Score

55/100

Audited on Apr 26, 2024

No findings