

Where is the slope and b 0 = ŷ – b 1 x̄ is the y-intercept of the regression line.Īn alternate computational equation for slope is: The equation is given by ŷ = b 0 + b 1 x The Least-Squares Regression Line (shortcut equations) What would be the average stream flow if it rained 0.45 inches that day?

The linear correlation coefficient is also referred to as Pearson’s product moment correlation coefficient in honor of Karl Pearson, who originally developed it. The sample size is n.Īn alternate computation of the correlation coefficient is: Where x̄ and s x are the sample mean and sample standard deviation of the x’s, and ȳ and s y are the mean and standard deviation of the y’s. To quantify the strength and direction of the relationship between two variables, we use the linear correlation coefficient: Linear Correlation Coefficientīecause visual examinations are largely subjective, we need a more precise and objective measure to define the correlation between the two variables. For example, when studying plants, height typically increases as diameter increases.įigure 5.

Positive relationships have points that incline upwards to the right. Linear relationships can be either positive or negative. This is the relationship that we will examine. A relationship is linear when the points on a scatterplot follow a somewhat straight line pattern.A relationship is non-linear when the points on a scatterplot follow a pattern but not a straight line.A relationship has no correlation when the points on a scatterplot do not show any pattern.We can see an upward slope and a straight-line pattern in the plotted data points.Ī scatterplot can identify several different types of relationships between two variables. In this example, we see that the value for chest girth does tend to increase as the value of length increases. When examining a scatterplot, we should study the overall pattern of the plotted points. In this example, we plot bear chest girth (y) against bear length (x). Scatterplot of chest girth versus length. Each individual (x, y) pair is plotted as a single point.įigure 1. A scatterplot (or scatter diagram) is a graph of the paired (x, y) sample data with a horizontal x-axis and a vertical y-axis. A scatterplot is the best place to start. We begin by considering the concept of correlation.Ĭorrelation is defined as the statistical association between two variables.Ī correlation exists between two variables when one of them is related to the other in some way. We can describe the relationship between these two variables graphically and numerically. As the values of one variable change, do we see corresponding changes in the other variable? Given such data, we begin by determining if there is a relationship between these two variables. We collect pairs of data and instead of examining each variable separately (univariate data), we want to find ways to describe bivariate data, in which two variables are measured on each subject in our sample. For example, we measure precipitation and plant growth, or number of young with nesting habitat, or soil erosion and volume of water. In many studies, we measure more than one variable for each individual.
