dffits_stats {api2lm} | R Documentation |
DFFITS statistics
Description
dffits_stats
returns the ordered DFFITS values
(decreasing in magnitude) of model
to identify the
observations with the highest DFFITS values.
Usage
dffits_stats(model, n = 6L)
Arguments
model |
A fitted model object from the
|
n |
an integer vector of length up to |
Value
A vector of statistics
See Also
Examples
lmod <- lm(price ~ sqft_living, data = home_sales)
dffits_stats(lmod, n = 5)
[Package api2lm version 0.2 Index]