© Philip Joyce 2020
P. JoycePractical Numerical C Programminghttps://doi.org/10.1007/978-1-4842-6128-6_2

2. Regression

Philip Joyce1 
Goostrey, UK

Regression is concerned with the relationship between two quantities. For instance, a person’s height in relation to their weight or a car’s values compared to its age. If we record values of these, we can plot the points on a graph. This type of graph is called a “scatter” graph because the points seem scattered about the graph.


The preceding two graphs are scatter graphs. The top graph shows height plotted against weight for different people. The bottom graph shows the value of one particular make and ...

Get Practical Numerical C Programming: Finance, Engineering, and Physics Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.