Curve Fitting or Polynomial Regression between two variables
[This article was first published on Krishna's R Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
When the relation between two variables x and y is not linear and if there exists a curvilinear relationship (which can be observed by means of a scatter plot between x and y), then one can perform curve fitting or polynomial regression between these two variables. To know the details as to how to perform curve fitting or polynomial regression between two variables x and y using r functions lm and poly, and the stopping criteria that can be followed, read the following article at the address given below:
http://davetang.org/muse/2013/05/09/on-curve-fitting/
To leave a comment for the author, please follow the link and comment on their blog: Krishna's R Blog.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.