outlier_demo: Interactive demonstration of the effect of an outlier on a...

Description Usage Arguments Details Author(s) References

Description

This function shows regression lines on user-defined data before and after adding an additional point.

Usage

1

Arguments

No arguments

Details

This function allows the user to generate data by click on a plot. Once two points are added, the least squares regression line is draw. When an additional point is added, the regression line updates while also showing the line without that point. The effect of outliers on a regression line can easily be illustrated.

Note: To end the demo, you MUST click on the red box labeled "End" (or press Escape, which will return an error)

Author(s)

Adam Petrie

References

Introduction to Regression and Modeling


profpetrie/regclass documentation built on May 26, 2019, 8:33 a.m.