Children are exposed to many colours in their environment Some babies show a striking preference for just one colour, while others will like a few colours. But these particular findings are only preliminary, on about 30 babies aged between four and nine months. We are collecting more data, she said.
Linear regression attempts to model the relationship between two variables by fitting a linear equation to observed data. One variable is considered to be an explanatory variable, and the other is considered to be a dependent variable.
The dependent variable is what is being measured in an experiment or evaluated in a mathematical equation and the independent variables are the inputs to that measurement. In a simple mathematical equation, for example: a = b/c the independent variables, b and c, determine the value of a. Here's a simple example: