outliers_prop {robust2sls}R Documentation

Proportion of outliers

Description

outliers_prop calculates the proportion of outliers relative to all non-missing observations in the full sample from a "robust2sls" object for a given iteration.

Usage

outliers_prop(robust2sls_object, iteration)

Arguments

robust2sls_object

An object of class "robust2sls".

iteration

An integer >= 0 representing the iteration for which the outliers are calculated.

Value

outliers_prop returns the proportion of outliers for a given iteration as determined by the outlier-detection algorithm.


[Package robust2sls version 0.2.2 Index]