3.3 Non-linear regressionThis is a featured page

Plotted data usually will not fit a linear model i.e. it is obvious when you plot your data on a scatter plot that a straight line is NOT the curve to draw.

For example: bacteria growing on a slice of bread ; bacteria grows at an exponential rate, so a scatter plot of time (x-axis) versus the number of bacteria on the bread (y-axis) would look as though an exponential curve should be drawn through the data points.
scatter


Non-linear regression: technique of finding a curve of best fit for data that is not described by a straight line.

Model: the name given to curves of best fit

Here are different models that can be fitted to non-linear data:
Model Equation Example
Quadratic Y = ax² + bx + c Distance fallen under influence of gravity
Cubic Y = ax³ +bx² + cx + d
Exponential Y = ab^x , a,b+constant
Y = ae^x , e=2.718,
a=constant
Bacterial growth
Power Y = ax^b, a,b=constant



- For the curve above, you would apply an exponential curve: y= ae^x, where e = 2.718

- Now you must find the values of a and x (this has to be a guess)

- After "guessing" the values of a and x, you will then calculate how good your exponential function applies to your data points by using this equation:



3.3 Non-linear regression - MDM4U1@FMG


where r² = coefficient of determination
y = the mean of your data's y-values
y= a y-value from your data

Yfrom your equation = the y-value generated by your equation when you plug into it an x-value of your data
=Yest in your text

- To calculate r², you would have to use ALL of your data's y-values. and for each of those y-values, you would include a Yfrom your equation

- So, it would definitely be best, if before calculating r², to conduct a table like this as to make thing much easier for you:

3.3 Non-linear regression - MDM4U1@FMG

- r² has values from 0 to 1
- If the value is 1, your model is a perfect match with the data
- if the value is 0, your model is terrible and you must try again!
- so basically, the closer r is to 1, the better your model is

- r² is used for all types of curves: straight lines, quadratic, cubic, power, or even exponential

- do not be mistaken!! r is only for straight lines!!


LETS DO AN EXAMPLE:

The following table lists the number of bacteria produced from a single bacteria

T (hours)
Y (bacteria)
1 2
2 25
3 80
4 200
5 375
**By observing the scatter plot, it is believed that the
curve of best fit for this data is y= 3t. It will be
presumed that a value of r² > 0.7 will indicate
a strong correlation**

**** Is the chosen curve a good choice?
Prove it!



HERE IS THE SCATTER PLOT:
3.3 Non-linear regression - MDM4U1@FMG



ANSWER:

In order to determine if the curve is a good choice, we must calculate r². We must find the different values that are in the equation.

3.3 Non-linear regression - MDM4U1@FMG






















Overall, the curve was a good choice since r^2 > 0.7








No user avatar
annamalek
Latest page update: made by annamalek , May 2 2007, 11:57 PM EDT (about this update About This Update annamalek Edited by annamalek

14 words deleted

view changes

- complete history)
Keyword tags: Curve model non-linear
More Info: links to this page
Started By Thread Subject Replies Last Post
Mr._D'Onofrio assessment 0 May 16 2007, 9:41 AM EDT by Mr._D'Onofrio
Thread started: May 16 2007, 9:41 AM EDT  Watch
Graphs and charts are good. It would have been nice to see some originality, like in your choice of data. Your choice of tags is good. Don't worry about the white space, it won't detract from your mark.
1  out of 4 found this valuable. Do you?    
Keyword tags: None (edit keyword tags)
Mr._D'Onofrio I can't open your file 3 May 2 2007, 11:56 PM EDT by annamalek
Thread started: May 1 2007, 5:54 PM EDT  Watch
I believe your document requires the newer software at school. I cannot open it here. I'll try it at school tomorrow. Don't worry...I won't mark you as late.

Did you use computers at school or at home or both to create the document?
Do you find this valuable?    
Keyword tags: None (edit keyword tags)
Show Last Reply
challaharini good job! 1 Apr 29 2007, 10:29 PM EDT by annamalek
Thread started: Apr 27 2007, 11:20 PM EDT  Watch
i like your explanations and the chart on non-linear regression but i have a few suggestions. Your page could be enhanced if you use more visual aids like a flow chart or a diagram, it makes it easier to understand a lesson if there are visuals. I think it would also be helpful if there were defintions of some more keyterms from the chapter. Also, you could have a picture of a graph that shows a straight line as the line of best fit and another graph where a straight line cannot be drawn through the points. It helps in understanding the concept better if there are two different graphs to compare. Otherwise, great job guyz!
Do you find this valuable?    
Keyword tags: None (edit keyword tags)
Show Last Reply

Anonymous  (Get credit for your thread)


Showing 3 of 3 threads for this page