gapstat: This function computes the gap statistic which is used to...

View source: R/gapstat.R

gapstatR 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


daewr documentation built on Sept. 9, 2023, 9:06 a.m.