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 relationship between x and y is 'perfect' for these two examplesâthe points fall exactly on a straight line or the value of y is determined exactly by the value of x. Our interest will be concerned with relationships between two variables which are not perfect.The 'Correlation' between x and y is r = 1.00 for the values of x and y on the left and r = -1.00 for the values of x and y on the right.hen we consider the relationship between two variables, there are three possibilities: 1  Both variables are categorical. 2  Both variables are quantitative. 3  One variable is categorical and the other is quantitative, for instance height and gender.