UG: UG scan procedure

View source: R/scan_uni.R

UGR Documentation

UG scan procedure

Description

This function computes the UG (Univariate Gaussian scan statistic).

Usage

UG(data, MC = 999, typeI = 0.05, initialization, permutations)

Arguments

data

vector. Vector of the data, each element corresponds to a site (or an individual if the observations are by individuals and not by sites).

MC

numeric. Number of Monte-Carlo permutations to evaluate the statistical significance of the clusters. By default: 999.

typeI

numeric. The desired type I error. A cluster will be evaluated as significant if its associated p-value is less than typeI. By default 0.05.

initialization

list. Initialization for the scan procedure (see InitScan for more details).

permutations

matrix. Indices of permutations of the data.

Value

An object of class ResScanOutputUni.

References

Martin Kulldorff and Lan Huang and Kevin Konty (2009). A Scan Statistic for Continuous Data Based on the Normal Probability Model. International Journal of Health Geographics, 8 (58).


HDSpatialScan documentation built on May 31, 2023, 7:52 p.m.