4.0.3 • Published 6 months ago

@types/ttest v4.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/ttest

Summary

This package contains type definitions for ttest (https://github.com/AndreasMadsen/ttest).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ttest.

index.d.ts

// Type definitions for ttest 4.0
// Project: https://github.com/AndreasMadsen/ttest
// Definitions by: Sebastian Silbermann <https://github.com/eps1lon>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export = ttest;

declare function ttest(left: number[], options?: Omit<ttest.Options, 'varEqual'>): ttest.TTest;
declare function ttest(left: number[], right: number[], options?: ttest.Options): ttest.TTest;

declare namespace ttest {
    interface Options {
        mu?: number;
        varEqual?: boolean;
        alpha?: number;
        alternative?: 'less' | 'greater' | 'not equal';
    }

    interface TTest {
        testValue: () => number;
        pValue: () => number;
        confidence: () => number[];
        valid: () => boolean;
        freedom: () => number;
    }
}

Additional Details

  • Last updated: Wed, 11 May 2022 06:01:34 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Sebastian Silbermann.

4.0.1

8 months ago

4.0.3

6 months ago

4.0.2

7 months ago

4.0.0

2 years ago