is_outlier: Tests for outlier.

Description Usage Arguments Details Value Author(s) See Also

Description

Test if the last data point is within the prediction interval returned by prediction_interval

Usage

1
is_outlier(cases, use_last, k_sd)

Arguments

cases

numeric vector

use_last

number of points preceeding the last one to be used for estimation. If this is more than the number of available data points, all points are used.

Details

k_sd controls the proportion of the data that you want to grab. If this value is large, greater variance will be tolerated.

Value

TRUE is the last point is outside the prediction_interval

Author(s)

Sangeeta Bhatia

See Also

chebyshev_ineq_sample for the proportion *outside* a certain interval around the mean


annecori/mRIIDSprocessData documentation built on May 29, 2019, 1:16 p.m.