gapstat {daewr}R Documentation

This function computes the gap statistic which is used to test for an outlier using Daniels method

Description

This function computes the gap statistic which is used to test for an outlier using Daniels method

Usage

gapstat(beta, pse)

Arguments

beta

input - vector of coefficients from saturated model fit to the data

pse

input - Lenth's PSE statistic calculated from the elements of beta

Value

returned gap statistic

Author(s)

John Lawson


[Package daewr version 1.2-11 Index]