My First Playground

node v6.17.1
version: 1.0.0
endpointsharetweet
This is a playground to test JavaScript. It runs a completely standard copy of Node.js on a virtual server created just for you. Every one of npm’s 300,000+ packages are pre-installed, so try it out:
var jsStats = require("js-stats")// Let's show where the Internation Space Station currently is. var normal = new jsStats.NormalDistribution(0.0, 1.0); console.log(normal.cumulativeProbability(0.4)); console.log(normal.invCumulativeProbability(0.34)); console.log(normal.invCumulativeProbability(0.74)); var student = new jsStats.TDistribution(10.0); console.log(student.cumulativeProbability(0.3)); console.log(student.invCumulativeProbability(0.34)); console.log(student.invCumulativeProbability(0.74)); var fisher =new jsStats.FDistribution(10.0, 20.0); console.log(fisher.cumulativeProbability(2.0)); var chi = new jsStats.ChiSquareDistribution(20); console.log(chi.cumulativeProbability(2.0));
Loading…

no comments

    sign in to comment