algo.farrington.assign.weights: Assign weights to base counts

View source: R/algo_farrington.R

algo.farrington.assign.weightsR Documentation

Assign weights to base counts

Description

Weights are assigned according to the Anscombe residuals

Usage

algo.farrington.assign.weights(s, weightsThreshold=1)

Arguments

s

Vector of standardized Anscombe residuals

weightsThreshold

A scalar indicating when observations are seen as outlier. In the original Farrington proposal the value was 1 (default value), in the improved version this value is suggested to be 2.58.

Value

Weights according to the residuals

See Also

anscombe.residuals


surveillance documentation built on Nov. 4, 2024, 3 a.m.