Public
Edited
Feb 4, 2024
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
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
Insert cell
Insert cell
Insert cell
Insert cell
import {toc} from "@mbostock/toc"
Insert cell
Insert cell
Insert cell
Insert cell
import {addColumn} from "@observablehq/excel-add-columns"
Insert cell
optimjs = require('optimization-js@1.5.0/dist/optimization.js')
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
data_high = ebaydata.filter(d => d.ReservePriceFrac > reserve_threshold)
Insert cell
Insert cell
Insert cell
y = Array.from(d3.map(data, d => d.NBidders))
Insert cell
y_high = Array.from(d3.map(data_high, d => d.NBidders))
Insert cell
mle = d3.mean(y)
Insert cell
mle_high = d3.mean(y_high)
Insert cell
Insert cell
regdata = ebaydata.map(d => ({y: d.NBidders, x: d.ReservePriceFrac}))
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
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