Advanced Placement Statistics Section 4

Slides:



Advertisements
Similar presentations
Least-Squares Regression Section 3.3. Correlation measures the strength and direction of a linear relationship between two variables. How do we summarize.
Advertisements

Chapter 12: More About Regression
AP Statistics: Section 4.1 C Power Law Models
1-4 curve fitting with linear functions
LSRLs: Interpreting r vs. r2
Chapter Four: More on Two- Variable Data 4.1: Transforming to Achieve Linearity 4.2: Relationships between Categorical Variables 4.3: Establishing Causation.
AP Statistics Chapters 3 & 4 Measuring Relationships Between 2 Variables.
Lesson Quiz: Part I 1. Change 6 4 = 1296 to logarithmic form. log = 4 2. Change log 27 9 = to exponential form = log 100,000 4.
Transforming to Achieve Linearity
Section 12.2 Transforming to Achieve Linearity
+ Hw: pg 788: 37, 39, 41, Chapter 12: More About Regression Section 12.2b Transforming using Logarithms.
Transformations to Achieve Linearity
9 - 1 Intrinsically Linear Regression Chapter Introduction In Chapter 7 we discussed some deviations from the assumptions of the regression model.
CHAPTER 12 More About Regression
Chapter 12-2 Transforming Relationships Day 2
Warm-up A. P Stats Shape-Changing Transformations/ Stats – 3.4 Diagonstics Copy the two columns and match them.
VCE Further Maths Least Square Regression using the calculator.
Transforming to achieve linearity
Transforming Relationships
Least-Squares Regression Section 3.3. Why Create a Model? There are two reasons to create a mathematical model for a set of bivariate data. To predict.
Exponential Regression Section Starter The city of Concord was a small town of 10,000 people in Returning war veterans and the G.I.
Transformations.  Although linear regression might produce a ‘good’ fit (high r value) to a set of data, the data set may still be non-linear. To remove.
CHAPTER curve fitting with linear functions.
Residuals and Residual Plots Section Starter A study showed that the correlation between GPA and hours of study per week was r =.6 –Which.
Warm-up O Turn in HW – Ch 8 Worksheet O Complete the warm-up that you picked up by the door. (you have 10 minutes)
AP Statistics Section 4.1 A Transforming to Achieve Linearity.
LEAST-SQUARES REGRESSION 3.2 Role of s and r 2 in Regression.
1. Plot the data. What kind of growth does it exhibit? (plot by hand but you may use calculators to confirm answers.) 2. Use logs to transform the data.
LSRLs: Interpreting r vs. r 2 r – “the correlation coefficient” tells you the strength and direction between two variables (x and y, for example, height.
Fall Looking Back In Chapters 7 & 8, we worked with LINEAR REGRESSION We learned how to: Create a scatterplot Describe a scatterplot Determine the.
AP STATISTICS Section 4.1 Transforming to Achieve Linearity.
1.5 Linear Models Warm-up Page 41 #53 How are linear models created to represent real-world situations?
Welcome to Algebra 2! Get out your homework Get out catalogs Get out writing utensils Put bags on the floor Be quiet!!! 3/2/ : Curve Fitting with.
Chapter 5 Lesson 5.2 Summarizing Bivariate Data 5.2: LSRL.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.2 Transforming.
12.2 TRANSFORMING TO ACHIEVE LINEARITY To use transformations involving powers, roots, and logarithms to find a power or exponential model that describes.
Ch. 10 – Linear Regression (Day 2)
Unit 4 LSRL.
Sections Review.
Chapter 12.2A More About Regression—Transforming to Achieve Linearity
Chapter 12: More About Regression
Section 3.2: Least Squares Regression
Chapter 5 LSRL.
Chapter 12: More About Regression
Suppose the maximum number of hours of study among students in your sample is 6. If you used the equation to predict the test score of a student who studied.
Day 13 Agenda: DG minutes.
Ch. 12 More about regression
Chapter 12: More About Regression
EQ: How well does the line fit the data?
CHAPTER 12 More About Regression
Scatter Plots and Best-Fit Lines
Residuals and Residual Plots
Warm Up The following data lists the prices of 12 different bicycle helmets along with the quality rating. Make a scatterplot of the data (price is the.
Chapter 12: More About Regression
Transformations to Achieve Linearity
Least-Squares Regression
11A Correlation, 11B Measuring Correlation
Chapter 12: More About Regression
Day 12 AGENDA: Quiz 2.1 & minutes Test Ch 1 & 2 is Thursday.
Day 68 Agenda: 30 minute workday on Hypothesis Test --- you have 9 worksheets to use as practice Begin Ch 15 (last topic)
Section 3.2: Least Squares Regressions
Chapter 12: More About Regression
Homework: pg. 266 #3 A. The relationship is strong, negative, and slightly curved. B. Yes. The scatterplot for the transformed data shows a clear linear.
CHAPTER 12 More About Regression
Chapter 12: More About Regression
Chapter 12: More About Regression
Chapter 12: More About Regression
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret.
CHAPTER 12 More About Regression
Chapter 3: Describing Relationships
Presentation transcript:

Advanced Placement Statistics Section 4 Advanced Placement Statistics Section 4.1: Transforming to Achieve Linearity EQ: How do you determine what type of regression equation best models your data?

Introduction to Nonlinear Transformations Up to this point in the course, all of our data has been modeled by lines.

However many relationships are nonlinear.

Sometimes things aren’t what they appear. Objects thrown in the air parabolic Population growth exponential Sometimes things aren’t what they appear.

Transforming Data --- apply a function to straighten nonlinear patterns into linear patterns How to determine if a line is the BEST Model? RECALL: Correlation Coefficient Scatterplot Coefficient of Determination Residual Plot

Part I: Exponential Model CALCULATOR ACTIVITY: Part I: Exponential Model Using L1 for year (after 1970) and L2 number of transistors, create a scatterplot for the data on p. 271 in your text book. Note: Cut x-axis off [2nd ZOOM] AXES OFF

Your scatterplot shows the growth in number of transistors on a computer chip from 1970 to 2000. Explanatory Variable is year after 1970. Response Variable is number of transistors on computer chips. It appears that the pattern of growth is nonlinear.

Obtain regression statistics. Create a residual plot for this data

Day 18 Agenda: Quiz 3.1 & 3.2 --- 30 minutes Only half of you have signed up for the AP Stat Exam. Reminder that that needs to be done as soon as possible. The link is on the calendar page on the blog.

The day in the life of a high school student…

Discuss why it appears that the pattern of growth is non-linear. Pattern in the residual plot Non linear trend Low Coefficient of Determination Calculate the natural log of NUMBER OF TRANSISITORS and place it in L3. Ln(L2)  L3

Create the scatterplot for L1 and L3. Since logs were taken for the response variable only, we will “back transform” this LSRL to an exponential model.

Calculate the Linear Regression Equation: Use LinReg L1, L3 to calculate the LSRL of Ln(# of transistors) on yrs since 1970 .

0.997 0.995 Paste it in Y1 then graph. 7.41 0.332 r = ______ 7.41 0.332 pred Ln(# of trans) = ___ + ___ (yrs since 1970) 0.997 0.995 r = ______ r2 = ______

See p 273 and compare the Minitab output with your output. Less of a pattern in the residual plot Linear trend High Coefficient of Determination Would you consider this linear model a good fit for this transformed data? Explain.

Using the transformed model to make predictions. Step 1: Evaluate the LSRL for the year 2003. pred Ln (# of transistors) = 7.41 + 0.332 (33) pred Ln (# of transistors) = 18.366

Why do we use base e? Natural logs, ln, are in base e. Step 2: Substitute value into the exponential function pred (# of transistors) = e18.366 Why do we use base e? Natural logs, ln, are in base e. Common logs, log, are in base 10. pred (# of transistors) ≈ 95,000,000

Step 3: Sketch this exponential model over the original scatterplot to see how well it “fits”. Y1 = e7.41 + 0.332x

Part II: Power Model Using L1 for DIST and L2 for period of revolutions create a scatterplot for the data on p. 282 in your text book. Your scatterplot shows the increase in distance from the sun as the period of the revolutions also increases. Explanatory Variable is distance from the sun. Response Variable is period of the revolutions. It appears that the pattern of growth is nonlinear.

Would you consider this linear model a good fit for this data? Non linear trend Pattern in the residual plot But a high Coefficient of Determination Would you consider this linear model a good fit for this data?

Calculate the natural log of DIST and place it L3 and the natural log of period of revolutions and place it L4. Create a scatterplot of these transformations.

Calculate the Linear Regression Equation: Since logs were taken for both the explanatory and response variables, we will “back transform” this LSRL to a power model. Calculate the Linear Regression Equation: 0.000254 1.50 pred Ln(per of rev) = _____ + ____(ln(dist from sun)) 0.999 r = _______ 0.999 r2 = ______

Would you consider this linear model a good fit for this transformed data? Although curved pattern is apparent, size of residuals is VERY SMALL.[see p. 284]

Rewrite the LSRL as a Power Equation: Step 1: Use your model to predict the period of revolutions for Xena, a new planet discovered in our solar system July 31, 2005. Xena is an average of 102.15 astronomical units from our sun. Step 2: Substitute value into the exponential function pred Ln(per of rev) = 0.000254 + 1.50 (Ln(Dist from Sun)) pred (per of rev) = e 6.9399 = 1032.67 per of rev

Step 3: Sketch this model over your original scatterplot to see how well it fits. Y1 = e 0.000254 + 1.50 (Ln(X)) NOTE Ln(X)

BAT on AP Exam: interpret a residual plot, discuss coefficient of determination, and use a nonlinear model to make predictions Assignment: Complete WS problems #1 p. 276 #5 Perform Exp Reg and Power Reg to determine which is best model Use your model to answer g) p. 285 #11 Perform Exp Reg and Power Reg to determine which is best model. Use your model to answer d)