Nearest Phase Modulator

    pert-estimate

    1.0.0 • Public • Published

    pert-estimate

    Calculate estimate(s) based on the PERT method by using "most likely time", "optimistic time", and "pessimistic time".

    Installation

    $ npm install --save pert-estimate

    Usage

    var pert = require('pert-estimate');
     
    /**
     * Expected duration
     *
     * Two different ways of specifying arguments;
     * individual arguments or as an object.
     *
     * Order: optimistic, nominal, pessimistic
     */
    console.log(pert.expectedDuration(1, 3, 14)); // 4.5
    console.log(pert.expectedDuration({
        optimistic: 1,
        nominal: 3,
        pessimistic: 14
    }));
     
    /**
     * Standard deviation
     */
    console.log(pert.standardDeviation(1, 3, 14)); // 2.16
    console.log(pert.standardDeviation({
        optimistic: 1,
        nominal: 3,
        pessimistic: 14
    }));

    License

    MIT-licensed. See LICENSE.

    Install

    npm i pert-estimate

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • rexxars