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 difference is that the value of the independent variable is controlled by the experimenter, while the value of the dependent variable only changes in response to the independent variable. When results are plotted in graphs, the convention is to use the independent variable as the x-axis and the dependent variable as the y-axis.