Experimental science looks at cause and effect types of relationships. Controlled experiments vary one of the factors or traits to observe the effect on another factor or trait. These factors are called variables. A dependent variable is something that is observed and expected to change as a result of modifying another factor in the experiment. That is to say, the outcome depends on another factor. Another name for dependent variable is responding variable. The independent variable is the factor or condition that is changing or being changed by the experimenter. Sometimes waiting is the the condition that is changing, making the independent variable : time. Since we change the independent variable, it is also called the manipulated variable.
Graphing a line
A line can be described mathematically by the equation:
This is how the slope of a line (m) is determined.
The slope of the line indicates the relationship between the two variables, x and y. The equation of the line indicates to us that “y” occurs as a function of changes to “x”. Sometimes this is represented by the equation . Since “y” depends on “x”, “y is the dependent variable and “x” is the independent variable. As “x” changes, how does “y” change in response? This is what the slope reveals to us.
For more review, visit the following link.
Data Plotting Activity
- Use the following data from the USDA to plot a scatterplot and generate a trend-line.
- Use the info from the table below or download (a text file that can be opened in notepad/textedit)
- follow a tutorial on how to graph a scatterplot with line of best fit (trend-line)
- or use this tutorial in plot.ly
- remember NOT to make a line graph
- Ensure that “Year” is the x-axis
- Ensure that “lbs. Mozzarella” is the y-axis
- Show the equation of the trend-line on the graph
What do we learn?
- What does this scatterplot tell us about the relationship between consumption of mozzarella in relationship to years?
- How would this graph influence the way you invest in a mozzarella cheese company? Can you predict anything about the future of cheese consumption?
- What does the slope of this line indicate to you?
- Use mathematics to illustrate this point.
- The slope has a unit related to “lbs.” and “year”, what is this unit?
Creating a Line of Best Fit
Not all points collected will fall on a straight line. A Line of Best Fit or a Trendline approximates the average of those points through a mathematical process called the least squares method. While one could “eyeball” this line, the least squares method uses the data to minimize the distance from all those points to the line to have an averaging effect.
- Create a column of data for “x” values, “y” values, x2 and xy
- At the bottom of these columns, sum the data. Σx, Σy, Σx2, Σxy
- Calculate the slope from these values
- (where N=number of entries in a column)
- Calculate the y-intercept from these values
- Which provides use the the function
Tags: quantitative reasoning, analysis, inquiry, visual communication