Curve Fitting or Polynomial Regression between two variables

November 15, 2016
By

(This article was first published on Krishna's R Blog, and kindly contributed to R-bloggers)

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 on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)