Scatterplot App

Description

Click in the graph to generate bivariate data in the rectangle \( [0, w] \times [0, h] \). The selected points are shown as red dots in the scatterplot, and the coordinates are recorded in the data table. The statistics table gives the means \(m(x)\), \(m(y)\) of the \(x\) and \(y\) data, the standard deviations \(s(x)\), \(s(y)\) of the \(x\) and \(y\) data, and the covariance \(s(x,y)\), correlation \(r(x,y)\), regression intercept \(a(x,y)\), and regression slope \(b(x,y)\) of the bivariate data. In the graph, the horizontal cross hair is centered at the mean of the \(x\)-data and extends one standard deviation on either side. Similarly, the vertical cross hair is centered at the mean of the \(y\)-data and extends one standard deviation on either side. Finally, the least squares regression line is shown in the scatterplot. The width \( w \) and height \( h \) can be varied with the input controls.