Goodness of fit functions in R
What functions do you use in R to fit a curve to your data and test how well that curve fits? What results are considered good? Dirk Eddelbuettel Just the first part of that question can fill entire books. Just some quick choices: lm() for standard linear models glm() for generalised linear models (eg for logistic regression) rlm() from package MASS for robust linear models lmrob() from package robustbase for robust linear models loess() for non-linear / non-parametric models Then there are domain-specific models as e.g. time series, micro-econometrics, mixed-effects and much more. Several of