The set of bivariate observation (x 1, y 1) (x 2y 2) …., (x n, y n) are such that all the values are distinct and all the observations fall on a straight line with non-zero slope. Then the possible value of the correlation coefficient between x and y are
-1 and 1 only
The question asks about the possible values of the correlation coefficient between two variables, x and y, given a set of bivariate observations \((x_1, y_1), (x_2, y_2), \ldots, (x_n, y_n)\). We are told that all these observations are distinct and that they all fall on a straight line with a non-zero slope. Let's break down what this means for the correlation coefficient.
The correlation coefficient, often denoted by \(r\) (for sample) or \(\rho\) (for population), is a measure of the linear relationship between two variables. Its value ranges from -1 to +1.
When a set of bivariate observations \((x_i, y_i)\) all fall exactly on a straight line, it means there is a perfect linear relationship between \(x\) and \(y\). A straight line can be represented by the equation \(y = mx + c\), where \(m\) is the slope and \(c\) is the y-intercept.
Since all points lie perfectly on this line, their relationship is perfectly linear. This means the correlation coefficient will be either \(+1\) or \(-1\), depending on the slope of the line.
The question specifies that the straight line has a non-zero slope. The slope \(m\) determines the direction of the linear relationship:
If the slope were zero (\(m = 0\)), the line would be horizontal (\(y = c\)). In this case, \(y\) remains constant regardless of the value of \(x\). There would be no linear relationship between \(x\) and \(y\), and the correlation coefficient would be \(0\). However, the question explicitly states the slope is non-zero, ruling out this possibility.
The condition that all values are distinct ensures that we have a meaningful set of points defining a line and calculating correlation, avoiding degenerate cases like all points being the same.
Given that the bivariate observations lie exactly on a straight line, the linear relationship is perfect, meaning the correlation coefficient is either +1 or -1.
Given that the slope is non-zero, the line is not horizontal, which rules out a correlation of 0.
Therefore, the only possible values for the correlation coefficient between x and y are -1 and 1.
| Condition | Type of Linear Relationship | Correlation Coefficient (r or \(\rho\)) |
|---|---|---|
| Points on a straight line with positive slope (\(m > 0\)) | Perfect Positive Linear Relationship | \(+1\) |
| Points on a straight line with negative slope (\(m < 0\)) | Perfect Negative Linear Relationship | \(-1\) |
| Points on a straight line with zero slope (\(m = 0\)) | No Linear Relationship (Horizontal Line) | \(0\) |
Thus, the possible values of the correlation coefficient between x and y are -1 and 1 only.
| Concept | Description |
|---|---|
| Correlation Coefficient | Measures the strength and direction of a linear relationship between two variables. Range: [-1, +1]. |
| Perfect Positive Correlation (+1) | Points lie exactly on a straight line with a positive slope. |
| Perfect Negative Correlation (-1) | Points lie exactly on a straight line with a negative slope. |
| Zero Correlation (0) | No linear relationship; points may show a non-linear pattern or no pattern, includes points on a horizontal line. |
| Straight Line with Non-Zero Slope | A line where y changes consistently as x changes (either increases or decreases). Excludes horizontal lines. |
The mathematical formula for the sample correlation coefficient \(r\) is:
$$r = \frac{\sum_{i=1}^n (x_i - \bar{x})(y_i - \bar{y})}{\sqrt{\sum_{i=1}^n (x_i - \bar{x})^2 \sum_{i=1}^n (y_i - \bar{y})^2}}$$
If all points \((x_i, y_i)\) lie on a straight line \(y_i = mx_i + c\), then \(y_i - \bar{y} = m(x_i - \bar{x})\) (since \(\bar{y} = m\bar{x} + c\)). Substituting this into the formula for \(r\):
$$r = \frac{\sum_{i=1}^n (x_i - \bar{x})[m(x_i - \bar{x})]}{\sqrt{\sum_{i=1}^n (x_i - \bar{x})^2 \sum_{i=1}^n [m(x_i - \bar{x})]^2}}$$
$$r = \frac{m \sum_{i=1}^n (x_i - \bar{x})^2}{\sqrt{\sum_{i=1}^n (x_i - \bar{x})^2 \cdot m^2 \sum_{i=1}^n (x_i - \bar{x})^2}}$$
$$r = \frac{m \sum_{i=1}^n (x_i - \bar{x})^2}{\sqrt{m^2 (\sum_{i=1}^n (x_i - \bar{x})^2)^2}}$$
$$r = \frac{m \sum_{i=1}^n (x_i - \bar{x})^2}{|m| \sum_{i=1}^n (x_i - \bar{x})^2}$$
Since the observations are distinct and lie on a line with non-zero slope, not all \(x_i\) values can be the same, so \(\sum_{i=1}^n (x_i - \bar{x})^2 > 0\). Also, \(m \neq 0\). Thus, we can simplify:
$$r = \frac{m}{|m|}$$
This confirms that when points lie exactly on a straight line with a non-zero slope, the correlation coefficient is exactly +1 or -1.
If two lines of regression are x + 4y + 1 = 0 and 4x + 9y + 7 = 0, then what is the value of x when y = -3 ?
A bivariate data set contains only two points (-1, 1) and (3, 2). What will be the line of regression of y on x ?
Two variates, x and y, are uncorrelated and have standard deviations σ xand σ yrespectively. What is the correlation coefficient between x + y and x – y?
If the covariance between x and y is 30, variance of x is 25 and variance of y is 144, then what is the correlation coefficient?
The coefficient of correlation when coefficients of regression are 0.2 and 1.8 is