All Exams Test series for 1 year @ ₹349 only
Question

A bivariate data set contains only two points (-1, 1) and (3, 2). What will be the line of regression of y on x ?

This question was previously asked in
NDA I 2023 GAT Previous Year Paper (16-Apr-2023)
The correct answer is

x - 4y + 5 = 0

Understanding Bivariate Data and Regression Lines

A bivariate data set involves observations on two variables for each individual or data point. In this question, we are given a very simple bivariate data set consisting of just two points: (-1, 1) and (3, 2).

The line of regression of y on x is essentially a line that describes how the variable y is expected to change as the variable x changes. When you only have two data points, the line of regression of y on x is simply the straight line that passes through these two points. There is no complex fitting required as the line through two distinct points is unique.

Finding the Equation of the Line Through Two Points

To find the equation of a line passing through two points \((x_1, y_1)\) and \((x_2, y_2)\), we first need to calculate the slope (m) of the line using the formula:

\( m = \frac{y_2 - y_1}{x_2 - x_1} \)

Once we have the slope, we can use the point-slope form of the linear equation, which is:

\( y - y_1 = m(x - x_1) \)

Alternatively, we can find the y-intercept (c) using the slope-intercept form \(y = mx + c\) by substituting one of the points into the equation.

Calculating the Slope for the Given Bivariate Data

Our two points are \((-1, 1)\) and \((3, 2)\).

Point x-coordinate y-coordinate
1 -1 1
2 3 2

Let \((x_1, y_1) = (-1, 1)\) and \((x_2, y_2) = (3, 2)\).

Now, we calculate the slope:

\( m = \frac{2 - 1}{3 - (-1)} \)

\( m = \frac{1}{3 + 1} \)

\( m = \frac{1}{4} \)

So, the slope of the line of regression is \(\frac{1}{4}\).

Deriving the Equation of the Line of Regression

We have the slope \(m = \frac{1}{4}\) and we can use either of the two points. Let's use the point \((-1, 1)\) and the point-slope form \(y - y_1 = m(x - x_1)\).

Substitute the values:

\( y - 1 = \frac{1}{4}(x - (-1)) \)

\( y - 1 = \frac{1}{4}(x + 1) \)

To remove the fraction, multiply both sides of the equation by 4:

\( 4(y - 1) = 4 \times \frac{1}{4}(x + 1) \)

\( 4y - 4 = x + 1 \)

Now, rearrange the terms to get the equation in the standard form \(Ax + By + C = 0\):

\( 0 = x - 4y + 1 + 4 \)

\( 0 = x - 4y + 5 \)

Or, writing it conventionally:

\( x - 4y + 5 = 0 \)

This is the equation of the line of regression of y on x for the given bivariate data set.

Comparing with the Options

Let's compare our derived equation \(x - 4y + 5 = 0\) with the given options:

  1. x - 4y + 5 = 0
  2. 3x + 2y - 1 = 0
  3. x + 4y + 1 = 0
  4. 5x - 4y + 1 = 0

Our equation matches option 1.

Revision Table: Key Concepts

Concept Description Formula (if applicable)
Bivariate Data Data involving two variables for each observation. N/A
Line of Regression of y on x A line describing the relationship between x and y, used to predict y based on x. With two points, it's the line connecting them. General form: \(y = a + bx\)
Slope of a Line Measure of the steepness of a line, indicating the rate of change of y with respect to x. \( m = \frac{y_2 - y_1}{x_2 - x_1} \)
Point-Slope Form Equation of a line given a point \((x_1, y_1)\) and slope m. \( y - y_1 = m(x - x_1) \)

Additional Information on Regression

While for two points the regression line is simply the line connecting them, for more than two points, the line of regression (either y on x or x on y) is calculated using methods like the method of least squares. This method minimizes the sum of the squared errors (the vertical distances from the points to the line for y on x regression). The formulas for the slope (b) and y-intercept (a) of the regression line \(y = a + bx\) for n points are:

  • Slope, \( b = \frac{n(\sum xy) - (\sum x)(\sum y)}{n(\sum x^2) - (\sum x)^2} \)
  • Y-intercept, \( a = \frac{\sum y - b(\sum x)}{n} \) or \( a = \bar{y} - b\bar{x} \)

Where \(\bar{x}\) and \(\bar{y}\) are the means of x and y respectively, and n is the number of data points. For two points, these complex formulas simplify to the line through the points.

Was this answer helpful?

Similar Questions

  1. If the regression coefficient of x on y and y on x are \(- \frac{1}{2}\) and \(- \frac{1}{8}\)  respectively, then what is the correlation coefficient between x and y?

  2. It is given that X̅ = 10, Y̅ = 90, σ X= 3, σ Y= 12 and r XY = 0.8. The regression equation of X on Y is

  3. For 10 observations on price (x) and supply (y), the following data was obtained:

    ∑x = 130, ∑y = 220, ∑ x 2= 2288, ∑y 2= 5506 and ∑ xy = 3467.

    What is the line of regression of y on x?
  4. 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 ?

  5. If r is the coefficient of correlation between x and y, then what is the correlation coefficient between (3x + 4) and (-3y + 3)?

  6. The coefficient of correlation between ages of husband and wife at the time of marriage for a given set of 100 couples was noted to be 0.7. Assume that all these couples survive to celebrate the silver jubilee of their marriage. The coefficient of correlation at that point of time will be

  7. Consider the following statements:

    1. The regression line of y on x is \(\rm y = \frac{3}{4}x+2\)

    2. The regression line of x on y is  \(\rm x = \frac{3}{4}y+\frac{1}{4}\)

    Which of the above statements is/are correct?

  8. Consider the following statements:

    1. The coefficient of correlations r is \(\rm \frac{3}{4}\) .

    2. The means of x and y are 3 and 4 respectively.

    Which of the above statements is/are correct?

  9. Let X and Y represent prices (in Rs) of a commodity in Kolkata and Mumbai respectively. It is given X̅ = 65, Y̅ = 67, σ X = 2.5, σ Y = 3.5 and r(X, Y) = 0.8. What is the equation of regression of Y on X ?

  10. For the variables x and y, the two regression lines are 6x + y = 30 and 3x + 2y = 25. What are the values of x̅, y̅ and r respectively?


Important Questions from Correlation and Regression

  1. If the regression coefficient of x on y and y on x are \(- \frac{1}{2}\) and \(- \frac{1}{8}\)  respectively, then what is the correlation coefficient between x and y?

  2. Variable Y regresses with variable X with the conditions that \(\overline X = 5.50\) \(\overline Y = 3.50\)  and b = 1.50 in the linear regression model (Y = a + bX), where  \(\overline Y\)  and  \(\overline X\)  are means of the respective variables and b refers to gradient of line of Y w. r. t X. Which one of the following values of parameter 'a' of the model is correct?

  3. It is given that X̅ = 10, Y̅ = 90, σ X= 3, σ Y= 12 and r XY = 0.8. The regression equation of X on Y is

  4. For 10 observations on price (x) and supply (y), the following data was obtained:

    ∑x = 130, ∑y = 220, ∑ x 2= 2288, ∑y 2= 5506 and ∑ xy = 3467.

    What is the line of regression of y on x?
  5. If, in a series. there are m items whose ranks are common, then which factor is added for correction for each repeating value in both the series?

Need Expert Advice?
Upcoming Exams
NDA
September 13, 2026
CDS
September 13, 2026
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
501 Tests 1 Tests Free
845 Attempts
4.6(131)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App