198k views
2 votes
How do you find a regression equation

2 Answers

5 votes

Final answer:

To find a regression equation, you plot the data on a scatter plot, draw an approximate line of best fit, calculate its slope and y-intercept, and then write the equation. Alternatively, you can use statistical software or a calculator's regression function to find the most accurate equation.

Step-by-step explanation:

To find a regression equation, one can follow these steps:

  1. Collect a set of data with two variables; for instance, pinky finger length as the independent variable, x, and height as the dependent variable, y.
  2. Plot the data points on a scatter plot to visually assess the relationship.
  3. Draw a line that seems to best fit the data points. This is often done by eye, aiming to minimize the distance of all points from the line, leading to the least-squares regression line.
  4. Identify two points on the line to calculate the slope (rise over run).
  5. Determine the y-intercept by extending the line to where it crosses the y-axis.
  6. Combine the slope and y-intercept into the equation of the line, which typically has the form y=mx+b, where m is the slope and b is the y-intercept.
  7. Use statistics software or a calculator's regression function to find a more accurate regression equation.

An example regression equation from sample data might look like this: ŷ = 173.51 + 4.83x, where x is the independent variable and ŷ is the predicted value of the dependent variable, y.

It is crucial to remember that regression equations predict outcomes for the variables within the given data set, but they should not be extrapolated beyond the scope of the available data. Variability in real data means that different samples might yield different regression equations, which is why it is important to consider the goodness of fit, such as the correlation coefficient or the coefficient of determination (r2).

User Melody Horn
by
5.7k points
2 votes

Answer:

A regression coefficient is the same thing as the slope of the line of the regression equation.

Step-by-step explanation:

The equation for the regression coefficient that you'll find on the AP Statistics test is: B1 = b1 = Σ [ (xi – x)(yi – y) ] / Σ [ (xi – x)2].

User Broinjc
by
5.2k points