Learn R Programming

robust2sls (version 0.2.2)

outliers_prop: 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)

Value

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

Arguments

robust2sls_object

An object of class "robust2sls".

iteration

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