Lesson 6: Scatterplots and Least Squares Regression
September 18, 2017
Review:
- Exam 1 Results
- Exam 1 Solutions
Presentation:
- Scatterplots
- Video
- Examples
- Alternative Uses
- Predicted vs Actual
- Hotness vs Craziness
- Linear Regression
- Find a line of best fit for a set of points
- Least Squares Regression Proof: MethodLeastSquares
- Example: Beer Party
- Use temperature to predict 12-packs consumed
- Data from previous parties (Temp degrees F, 12-packs consumed)
- Party 1: 60°, 10 12-packs
- Party 2: 70°, 12 12-packs
- Party 3: 80°, 20 12-packs
- Party 4: 90°, 40 12-packs
- Scatter Plot
- Table setup
- Sum of Squares calculations
- SSxx = ∑x² – (∑x)²/n
- SSyy = ∑y² – (∑y)²/n
- SSxy = ∑xy – (∑x*∑y)/n
- Demonstrate Calculations
- Beer party data: {(60,10), (70,12), (80,20), (90,40)}
- Another example: {(2,3), (4,6), (7,9), (11,12)}
Assignment:
Problem 1. A study was conducted on mercury (Hg) concentrations in fish taken from Lake Natoma in California. The researchers were concerned that mercury concentration levels in sample fish tissue might differ depending on the lab testing the fish. Fish tissue samples from 10 largemouth bass were sent to two labs, Columbia Environmental Research Center (CERC) and University of California, Davis (UC Davis), for inter-laboratory comparison. Mercury concentration is measured in micrograms of mercury per gram of fish tissue (dry weight). Use the mercury concentration data below to create a Scatterplot and Calculate Sum of Squares (SSxx, SSyy, SSxy).
Problem 2. Satellites are one of the many tools used for predicting flash floods, heavy rainfall, and large amounts of snow. Geostationary Operational Environmental Satellites (GOES) collect data on cloud top brightness temperatures (measured in degrees Kelvin (°K)). It turns out that colder cloud temperatures are associated with higher and thicker clouds, which could be associated with heavier precipitation. Data consisting of cloud top temperature measured by a GOES satellite and rainfall rate measured by ground radar appear in the table below. Because ground radar can be limited by location and obstructions, having an alternative for predicting the rainfall rates can be useful. Use the temperature and radar rain rate data below to create a Scatterplot and Calculate Sum of Squares (SSxx, SSyy, SSxy).
Both problems copied from the Against All Odds video series guide for Unit 10.
Study:
- Read Ch. 2, pp. 83-92
- Read AgainstAllOdds_StudentGuide_Unit10