Testing multiple linear regression systems with metamorphic testing

Quang Hung Luu, Man F. Lau, Sebastian P.H. Ng, Tsong Yueh Chen

Research output: Contribution to journalArticleResearchpeer-review

7 Citations (Scopus)

Abstract

Regression is one of the most commonly used statistical techniques. However, testing regression systems is a great challenge because of the absence of test oracle in general. In this paper, we show that Metamorphic Testing is an effective approach to test multiple linear regression systems. In doing so, we identify intrinsic mathematical properties of linear regression, and then propose 11 Metamorphic Relations to be used for testing. Their effectiveness is examined using mutation analysis with a range of different regression programs. We further look at how the testing could be adopted in a more effective way. Our work is applicable to examine the reliability of predictive systems based on regression that has been widely used in economics, engineering and science, as well as of the regression calculation manipulated by statistical users.

Original languageEnglish
Article number111062
Number of pages21
JournalJournal of Systems and Software
Volume182
DOIs
Publication statusPublished - Dec 2021
Externally publishedYes

Keywords

  • Metamorphic relation
  • Metamorphic testing
  • Multiple linear regression

Cite this