logarithmic functions topic 5: logarithmic regression

Click here to load reader

Upload: gwen-warner

Post on 03-Jan-2016

220 views

Category:

Documents


0 download

TRANSCRIPT

Topic 1: The Fundamental Counting Principle

Logarithmic FunctionsTopic 5: Logarithmic RegressionI can graph data, and determine the logarithmic function that best approximates the data.I can interpret the graph of a logarithmic function that models a situation, and explain the reasoning.I can solve, using technology, a contextual problem that involves data that is best represented by graphs of logarithmic functions, and explain the reasoning.InformationA scatter plot is a set of points on a grid, used to visualize a possible trend in the data.A logarithmic regression function is the equation of a curve of best fit when the scatter plot looks like a logarithmic function. Technology uses logarithmic regression to determine the equation that balances the points in the scatter plot on both sides of the curve. The general form of a logarithmic function is . The calculator, however, generates the regression equation using natural logs, resulting in an equation of the following form:

Example 1Lydia is researching the rise in tuition fees for post-secondary education in Alberta. She found some data that used the tuition fees in 1992 as the benchmark, assigning them a value of 100%. The tuition fees in all other years are compared with the tuition fees in 1992.

a) Construct a scatter plot where year is a function of tuition cost. Label the scatter plot, including your window settings.

Using logarithmic regression to solve a problem

Since the question says year as a function of tuition, tuition is the independent variable (x) and year is the dependent variable (y).x (L1)y (L2)Example 1a) Construct a scatter plot where year is a function of tuition cost. Label the scatter plot, including your window settings.

Using logarithmic regression to solve a problem

Remember the steps:

1. Enter data into L1 and L2 by pressing STAT and 1:Edit.

2. Adjust the window settings so that all of the data values will be in view.

3. Press GRAPH to display your scatterplot.

(if it doesnt show up, make sure Plot 1 is turned on under 2nd Y=).

Example 1b) Determine the equation of the logarithmic regression function that models her data. Sketch the graph.

Using logarithmic regression to solve a problem

Remember the steps:

1. Press STAT and to get to the calculate menu. Select 9: LnReg.

2. Press VARS and then to get to Y-Vars. Select 1:Function and then 1:Y1. (This calculates the regression equation and then puts the equation in Y1.)

3. Press ENTER to see your Equation. Then press Graph to see the graph.

y = 1937.42+11.78lnxExample 1c) Is the regression equation a good fit for the data?

Using logarithmic regression to solve a problem

The graph of the equation matches very closely to the scatterplot, so yes. Also, if you were to look at the correlation coefficient, it is very close to 1. This also would indicate a very good fit.

y = 1937.42+11.78lnxExample 2Caffeine is found in coffee, tea, and soft drinks. Many people find that caffeine makes it difficult for them to sleep. The following data was collected in a study to determine how quickly the human body metabolizescaffeine. Each person started with 200 mg of caffeine in her or his bloodstream, and the caffeine level was measured at various times.

a) Determine the equation of the logarithmic regression function for the data representing time as a function of caffeine level.Using logarithmic regression to solve a problem

Since the question says time as a function of caffeine level, caffeine is the independent variable (x) and time is the dependent variable (y).x (L1)y (L2)Example 2a) Determine the equation of the logarithmic regression function for the data representing time as a function of caffeine level.

Enter data (STAT, 1:Edit).

2. Adjust window.3. Graph.4. Calculate the regression equation.y = 43.79 8.21lnx

Example 2b) Determine the time it takes for an average person to metabolize 50% of the caffeine in her or his bloodstream. Round your answer to the nearest tenth of an hour.

50% of the original 200mg of caffeine is 100mg. The question is asking what the y-value is for an x-value of 100.Enter the x-value of 100 and press ENTER.When given an x-value, calculate the y-value by pressing 2nd Trace and selecting 1:Value.y = 43.79 8.21lnx

It takes 6.0 hours for the average person to metabolize 50% of the caffeine.Example 2c) Paula drank a cup of coffee what contained 200mg of caffeine at 10:00 am. How much caffeine will bein her bloodstream 11 hours later, at 9:00 pm that evening? Round your answer to the nearest milligram.

The question is asking what the x-value is for an y-value of 11.To find the intersection point (the point were the graph is equal to 11), press 2nd TRACE 5: Intersect. You will have to press Enter 3 times.When given a y-value, enter it into Y2. Then press GRAPH.y = 43.79 8.21lnxAt 10pm , there is 54 mg of caffeine left in her bloodstream.

Example 2d) Paula is only able to sleep if her caffeine levels are below 70 mg. How long will it take for her body to metabolize the caffeine in her bloodstream so that she can sleep, to the nearest hour?

70 mg is an x-value. We need to find the y-value.Enter 2nd TRACE 1:Value.Enter an x-value of 70.y = 43.79 8.21lnx

This takes 9 hours for the caffeine level to be low enough for sleep.Example 2e) Using your regression equation, determine the x-intercept to the nearest tenth. Explain what the x-intercept represents in the given context.

To find the x-intercept, press 2nd TRACE and select number 2: zero.y = 43.79 8.21lnx

The x-intercept is 207.7mg. It actually represents the amount of caffeine at time 0 (based on my line of best fit). Move the cursor close to the x-intercept. You must move it to the left of the intercept and press enter. Then you must move it to the right of the intercept and press enter. Then move the cursor close to the x-intercept and press enter one final time.

Need to KnowA logarithmic function may be a good model for a set of data if the points on a scatter plot form an increasing or decreasing curve, where the domain is restricted to the set of positive real numbers.A logarithmic regression function is the equation of a curve of best fit when the scatter plot looks like a logarithmic function.The general form of a logarithmic function is . However, the calculator generates the regression equation using natural logs, giving an equation of the following form:

Need to KnowA logarithmic curve of best fit can be used to predict values that are not recorded or plotted (interpolation or extrapolation). Predictions can be made by reading values from the curve of best fit on a scatter plot or by using the equation of the logarithmic regression function.

Youre ready! Try the homework from this section.