Man pages for scanstatistics
Space-Time Anomaly Detection using Scan Statistics

aggregate_per_locationAggregate (sum) values over all data streams, and...
aggregate_per_streamAggregate (sum) values over all locations, and cumulatively...
apply_rowwiseApply a function to each row of a matrix.
closest_subsetsSet of increasing sets from left to right of input vector.
connected_neighborsFind the connected sets for a location and its k nearest...
connected_toReturn those elements in the second set which are connected...
coords_to_knnGet the k nearest neighbors for each location, given its...
df_to_matrixConvert a long data frame to a wide matrix.
dist_to_knnGiven a distance matrix, find the k nearest neighbors.
estimate_baselinesEstimate baselines based on observed counts.
estimate_variancesEstimate variances based on observed counts.
estimate_zip_paramsEstimate the parameters of a ZIP distribution.
exponential_lambdaCompute the score for an individual exponential observation.
exponential_priorityCompute exponential priority function values cumulatively...
exponential_qmaxCalculates the largest value for which the exponential score...
exponential_scoreCompute the exponential score for each priority subset, for...
flexible_zonesComputes the flexibly shaped zones as in Tango (2005).
flipudFlip a matrix upside down
gaussian_lambdaCompute the score for an individual Gaussian observation.
gaussian_priorityCompute Gaussian priority function values cumulatively over...
gaussian_qmaxCalculates the largest value for which the Gaussian score...
gaussian_scoreCompute the Gaussian score for each priority subset, for each...
get_subsetGet either a location or stream subset.
get_zero_indicesGet indices of zero elements in a vector.
get_zoneExtract a zone from the set of all zones.
gumbel_pvalueCalculate the Gumbel p-value for a scan statistic.
has_convergedIs the relative error between two numbers is less than the...
if_connectedReturn a set of the location and its neighbors if they are...
is_connectedReturns TRUE if the neighboring locations are connected to...
knn_zonesFind the increasing subsets of k nearest neighbors for all...
matrix_to_dfConvert a matrix to a data frame.
mc_pvalueCalculate the Monte Carlo p-value for a scan statistic.
mscan_fssCompute the Fast Subset Scan statistic for multivariate...
NM_geoLongitude and latitude of New Mexico county seats.
NM_mapData to plot the counties of New Mexico.
NM_popcasPopulation and brain cancer cases in New Mexico counties...
permute_matrixPermute the entries of the matrix, preserving row and column...
poisson_lambdaCompute the score for an individual Poisson observation.
poisson_priorityCompute Poisson priority function values cumulatively over...
poisson_qmaxCalculates the largest value for which the Poisson score...
poisson_scoreCompute the Poisson score for each priority subset, for each...
powerset_zonesCreates a set of all non-empty subsets of the integers from 1...
print.scanstatisticPrint a scanstatistic object.
prioritize_and_executeOrder locations accorder to priority, then apply function.
prioritize_colsOrder row contents by priority for each timepoint.
reorder_rowsReorder rows by priority.
run_scanRun a scan statistic analysis.
scan_bayes_negbinCalculate the negative binomial bayesian scan statistic..
scan_bayes_negbin_cppCalculate the "Bayesian Spatial Scan Statistic" by Neill et...
scan_eb_negbinCalculate the expectation-based negative binomial scan...
scan_eb_negbin_cppCalculate the expectation-based negative binomial scan...
scan_eb_poissonCalculate the expectation-based Poisson scan statistic.
scan_eb_poisson_cppCalculate the expecation-based Poisson scan statistic.
scan_eb_zipCalculate the expectation-based ZIP scan statistic.
scan_eb_zip_cppCalculate the highest-value EB ZIP loglihood ratio statistic.
scan_pb_perm_cppCalculate the space-time permutation scan statistic.
scan_pb_poissonCalculate the population-based Poisson scan statistic.
scan_pb_poisson_cppCalculate the population-based Poisson scan statistic.
scan_permutationCalculate the space-time permutation scan statistic.
scanstatisticsscanstatistics: Space-time anomaly detection using scan...
score_locationsScore each location over zones and duration.
score_priority_subsetCompute the highest scoring subset for aggregated data.
subset_aggregationSubset Aggregation over locations and data streams, naive or...
subset_aggregation_FFFast Subset Aggregation over both locations and data streams.
subset_aggregation_FN_NFCompute the most likely cluster using the FN/NF Subset...
sum_over_subsetFor each array in a list, sum over dimension 'd'.
sum_reorder_sumCumulatively sum, order by priority, then sum again.
top_clustersGet the top (non-overlappig) clusters.
scanstatistics documentation built on Jan. 24, 2018, 6:07 p.m.