sim_df: Simulated Datasets

Description Usage Format Details Examples

Description

Simulated data with anomaly clusters

Usage

1
2
3
4

Format

Numeric vectors.

Details

Data provided here are simulated transaction data. Each of those has multiple clusters with different locations and cluster sizes. Some of the clusters can not be seen in plot, but this scan statistics hypothesis can still be able to detect those.

Examples

1
2
3
4
5
## applied tran_detct on sampled data
set.seed(100); x <- sample(sim_df_D, 500)
tran_detct(x,loc = 10,HRR_kernel = "triangular", est_fun = "pt",
           MLE_unit = 1, x_unit = 0.001,
           hazard_bandwidth = 0.1, tail_obs = 100)

zhicongz/AnomDetct documentation built on Dec. 12, 2019, 9:16 a.m.