Published
Edited
Oct 2, 2018
1 fork
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// probability generating function for negative binomial distribution
function psi0( x ) {
var r = mu*mu / ( sigma*sigma - mu );
var p = (sigma*sigma - mu ) / (sigma * sigma );
return Math.pow((1.0-p) / (1.0-p*x ), r ) ;
}

Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more