Kenneth W. Bingham

live demo · runs in your browser · nothing is sent anywhere

The cube as an instrument: read the rule off the shape.

Put three columns of numbers in and the page looks at them the way you would look at a saddle inside a cube, through each face. Through the top the points fill the square. Through either side they make a bow tie, and the bow tie pinches at exactly one place. That pinch is a hidden offset in the data, and its height is a hidden constant: numbers read off the shape, not fitted to it. A least-squares fit runs beside the reading as the cross-check, the rule is written out, and what is left over, the residual, is measured, because the residual's size is the honest answer to "was there a rule in this data at all."

First, the saddle itself: tilt it and watch the hole move

This is z = xy in a cube, with no data at all. Through the top (left) the whole face is occupied. Through the side (right) it is a bow tie pinched at the centre. Tilt the saddle and the pinch slides to the tangent of the tilt; at 45 degrees it reaches the edge and leaves the cube.

Through the top

Through the side

Tilt

Tilt 0 degrees about the horizontal axis. The hole should sit at tan(tilt) = 0.00 of the way up the face.

Now data: three columns, and the same three views

1. The columns

Or paste your own: three numbers per line, x y z, separated by commas, spaces or tabs (a fourth column w is allowed, and the rule may then add it).

2. The views

Top: x across, y up. Side views: the bow ties, with the two edges the page fitted and a mark at their crossing, the pinch.

3. What the shape says

waiting

The method and its bars, set before it was run: four bars, two met and two not, and both misses say something exact. The reading off the shape is typically within 2 percent and goes wrong when the pinch sits at the edge of the range, where the fit takes over; a real column that is a product minus a price is correctly refused as a product until the price is given. The results file.