simplify.education

Scientific methods and data · BEGINNER LESSON

Test data

Test data are observations or results collected from a test or experiment to judge how a method, model, or assay performs for a defined purpose. They are used to estimate accuracy, reliability, limits, and other performance features under specified conditions.

What test data are

Test data are the results gathered from a test, assay, or prediction setup so that the method can be evaluated for a specific purpose. In data science, testing data are the held-out observations used to judge how well fitted prediction functions work; in laboratory testing, test data are the measurements or results used to assess whether a method performs as expected.

[1] Veridical data science - PMC - NIH [2] A framework for establishing scientific confidence in new approach ... [3] [PDF] Standards for Internal Validation of Forensic DNA Analysis Methods ...

What is measured

The main things measured with test data are predictive accuracy, agreement with accepted reference values, reproducibility, and practical limits such as the lowest signal that can still be distinguished from no signal. These measurements help show whether the method is relevant to the question being asked and whether it is reliable enough for that purpose.

[1] Veridical data science - PMC - NIH [2] A framework for establishing scientific confidence in new approach ... [3] [PDF] Standards for Internal Validation of Forensic DNA Analysis Methods ...

How test data are used

For prediction problems, a model is fitted on training data and then checked on testing data that were held out and collected under the same conditions. For laboratory methods, test data support validation by showing how a protocol behaves, what its limits are, and whether results are consistent when repeated with the same protocol. Validation means establishing performance for a defined purpose, not proving a method is perfect in every setting.

[1] Veridical data science - PMC - NIH [2] A framework for establishing scientific confidence in new approach ... [3] [PDF] Standards for Internal Validation of Forensic DNA Analysis Methods ...

Limitations

Test data only support conclusions for the conditions under which they were collected. They can be limited by biological relevance, reproducibility, completeness, uncertainty, and by whether the test matches the effect or prediction target that actually matters. A method may be valid for one purpose and not for another.

[2] A framework for establishing scientific confidence in new approach ... [3] [PDF] Standards for Internal Validation of Forensic DNA Analysis Methods ...

SEE THE IDEA

How test data support evaluation

Test data flow from collection to comparison to limit-checking, ending in a purpose-specific decision.

Test data are the evidence used to evaluate how a method performs under the conditions where the data were produced.

TRY IT YOURSELF

Test your understanding

Choose an answer, then check the explanation.

0 of 3 questions answered
01 A model is trained on one set of observations and then scored on a separate held-out set collected the same way. What are those held-out observations doing?
02 A laboratory assay gives repeatable results, but only when run with one exact protocol on one substance. Which idea is test data helping establish here?
03 A test detects a signal only above a very low concentration. What is being described?

PUT IT TOGETHER

Match each concept to its meaning

Drag a label onto its description, or select a label and then select a description. This also works with a keyboard.

Sources and further reading

This general lesson was generated from public source material. It explains a concept; it does not interpret a private paper or provide medical advice.

  1. Veridical data science - PMC - NIH
  2. A framework for establishing scientific confidence in new approach ...
  3. [PDF] Standards for Internal Validation of Forensic DNA Analysis Methods ...
Apply this to a paper →