testLoess: Significance Test for Loess vs. LM

Description Usage Arguments Value Author(s) Examples

Description

Calculates an F test to evaluate significant differences between a LOESS model and a parametric alternative estimated with lm

Usage

1
testLoess(lmobj, loessobj, alpha=.05)

Arguments

lmobj

An object of class lm.

loessobj

An object of class loess.

alpha

Desired Type I error rate of test.

Value

Printed output describing the results of the test.

Author(s)

Dave Armstrong (UW-Milwaukee, Department of Political Science)

Examples

1
2
3
4
library(car)
linmod <- lm(prestige ~ income, data=Prestige)
lomod <- loess(prestige ~ income, data=Prestige)
testLoess(linmod, lomod)


Search within the DAMisc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.