|
|||||||||||||||||
![]() |
![]() |
![]() |
|||||||||||||||
| Logarithmic Curve Data: Suppose we would like to try that our model would be logarithmic
Its mean we need to take the natural logarithm to the value of x in our data and then plot into semi logarithm paper. If the data is fitted with logarithm curve, we will obtain a straight line with high degree of R-squared. The computation of natural log and semi logarithm plot is given below.
Plotting ln x and y, we get linear model of Thus, the data also fits into logarithm curve. The parameters of the logarithm curve can be obtained from the linear model using parameter transformation
The plot of logarithmic curve (dash red line in figure below) produces quite good result with R-squared 0.9768.
See Also: Regression tutorial, Power Rules, Logarithm Rules, Kernel Regression Rate this tutorial or give your comments about this tutorial
Preferable reference for this tutorial is Teknomo, Kardi. Non-Linear Transformation for Regression. http:\\people.revoledu.com\kardi\ tutorial\Regression\NonLinear\
|
|||||||||||||
|
||||||||||||||
|
||||||||||||||