A trend line is a mathematical equation that describes the relationship between two variables. It is produced from raw data obtained by measurement or testing. The simplest and most common trend line equations are linear, or straight. Once you know the trend line equation for the relationship between two variables, you can easily predict what the value of one variable will be for any given value of the other variable.

## Predicting a Value

Examine your trend line equation to ensure it is in the proper form. The equation for a linear relationship should look like this: Y = MX + B. X is the independent variable and is usually the one you have control over. Y is the dependent variable that changes in response to X. The other two letters, M and B, stand for actual numbers that are specific to your data, so your trend line equation will have numerical values in place of M and B.

Rewrite the equation and replace the generic symbols X and Y with the actual names of your variables. For example, if your equation was for the relationship between a person's blood pressure and their salt intake, salt intake would be the independent variable and blood pressure the dependent. Your equation would look like this: Blood Pressure = M x Salt Intake + B.

Decide which of the two variables you want to predict. You will assign a number value to the other, predictive, variable. So to predict blood pressure, you would choose salt intake as the predictive variable you assign a number to. Decide at which value of your predictive variable you want to make your prediction. In the case of the blood pressure example, you would choose at what level of salt intake you want to predict blood pressure.

Rearrange the equation, if necessary, so the variable you want to predict is alone on one side of the equal sign. To predict blood pressure at a given level of salt intake you would leave the equation as Blood Pressure = M x Salt Intake + B. However, to predict the salt intake of a person with a specific blood pressure, you would rearrange the equation to Salt Intake = (Blood Pressure—B) ÷ M.

Substitute the chosen numerical value of the predictive variable into the equation. Using a calculator, solve the equation to find the predicted value of the other variable.

#### Tip

It is possible for B to be zero, so your equation could just look like Y= MX. The procedure above will also work for other more complicated trend line equations such as polynomials.