Toolvito

Calculates on this device. File exports run online.

Experimental Data Plotter

Paste your measurements as x and y, with the uncertainty of each y if you have it, and see them on a chart with the fit you choose: a straight line, a line through zero, a quadratic or cubic, or an exponential, power or logarithmic curve, with each parameter’s standard error, R² and the residuals. For repeated measurements you get the mean, standard deviation and 95% confidence interval at each x. The box below makes a figure file with error bars and fits peaks, dose-response curves and other models.

Enter your values

A chart with a least-squares fit, standard errors, R² and residuals.

Your values

One point on each line, separated by commas, tabs, semicolons or spaces. A first line of words names the axes.

Each point counts with 1 ÷ (its uncertainty)². Needs the third column.

More options

Leave empty to take it from the header line.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose the button below them.

Make a figure and fit more models

Make a figure and fit more models

Uses the points of Plot and fit above. The server draws a figure with error bars (when the data have uncertainties) and fits the model you choose: the fit above, or a peak, dose-response, enzyme or other curve by nonlinear least squares in the units of y.

More options

Everything above is worked out in your browser. When you use this box, the points of the calculation above (x, y and the uncertainties), the fit and the axis names are sent to the Toolvito server. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

How to use it

  1. Paste the data, one point on each line: x, y and, if you have it, the uncertainty of y. A first line of words names the axes.
  2. Choose the fit. Tick Use the uncertainties as weights when each point has its own uncertainty.
  3. Press Plot and fit and read the parameters with their standard errors, R² and the residuals in the table.
  4. For a figure for a report, use the box below: PNG, SVG or PDF, with error bars.

How the fit is worked out

  • Least squares: the parameters that make the sum of the squared residuals (y − fitted y) smallest, solved with a QR factorization. With weights, each squared residual counts 1 ÷ (its uncertainty)², and the standard errors take the uncertainties as absolute; the reduced χ² near 1 says the uncertainties fit the scatter.
  • Exponential and power curves are fitted here as straight lines of ln y; that gives small values of y more weight. The box below fits them in the units of y by nonlinear least squares.
  • R² = 1 − (sum of squared residuals ÷ total sum of squares about the mean). For a line through zero the sum of squares is taken about zero.

Limits

  • A good R² does not prove that the model is right: look at the residuals for a pattern.
  • The fit is only as good as the model you choose; it does not pick a model for you.
  • The 95% confidence intervals of repeated measurements assume independent, roughly normal measurements.

Related tools