Public
Edited
Sep 30, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
mathjs = require('mathjs')
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
pdf_func = function(x, mu, s){
return Math.exp(-(x-mu)/s)/((s*(1 + Math.exp(-(x-mu)/s)))**2)
}
Insert cell
cdf_func = function(x, mu, s){
return 1/(1 + Math.exp(-(x-mu)/s))
}
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