Skip to content
Choose an application

08 / Data & model testing

Fit one set.
Test on another.

Compare explicitly declared models using data in your browser. Inspect fitted coefficients, conditional uncertainty and residual structure before interpreting a difference.

Ordinary or weighted least squares · local CSV processing

Declare the comparison

The extension adds a specified basis term or harmonic. These are exploratory comparators; an extra fitted coefficient is not automatically a prediction of DTT.

Compare a baseline and an extension

The initial dataset is synthetic teaching data. Your CSV is read locally; neither its contents nor fitted values are sent to a server.

Required columns: x,y. Optional: sigma (a positive standard deviation for every row), split (train or test). Commas and decimal points; no missing values. Up to 5,000 rows / 2 MB. Column order may vary. Format and examples →

Enable JavaScript to load an example or analyze data.

A repeatable sequence

Make the physical meaning of the columns and the model choices explicit before fitting.

  1. Specify the observable. Record units, preparation, acquisition order and uncertainty convention.
  2. Choose the comparator. State why the proposed term is expected, and identify relevant nuisance effects.
  3. Reserve test observations. Use a separate run or protocol when possible. The automatic row split does not guarantee independence.
  4. Fit the training subset. Keep coefficients fixed when evaluating the test subset.
  5. Inspect residuals and export. Save the input rows, allocation, model basis, covariance and results together.

Read the result at the right level

Lower training error is expected when adding parameters. A lower test error can be useful evidence for a better comparator, but does not establish the physical mechanism.

This workbench assumes independent errors in y and ignores uncertainty in x. It does not model correlated systematics, Poisson counts, parameter constraints or a full experimental likelihood. Coefficient errors are conditional on the selected model. Free fringe fits can produce values outside the probability range; such results require a constrained physical model.

NIST: weighted least squares · NIST: model validation and residuals

SMONAD

Share this page

Share this page with its own title, summary and preview image.

More platforms