Description Usage Arguments Value
Knock out outliers in a linear regression by recursively pruning those data points that contribute the most to the regression error, operationalized as the residual sum of squares at each knockout iteration.
1 | knockout_lm(data, formula, id.var)
|
data |
Data frame |
formula |
Regression formula |
id.var |
Name of identifier variable (column) |
Data frame with the following columns:
iteration
Knockout iteration
knockee
Data pointed knocked out at this iteration
RSS_reduction
Reduction in residual sum of squares resulting from the knockout
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.