Learn R Programming

⚠️There's a newer version (1.0-5) of this package.Take me there.

GET: Global envelopes

https://cran.r-project.org/package=GET

The R package GET provides global envelopes which can be used for central regions of functional or multivariate data (e.g. outlier detection, functional boxplot), for graphical Monte Carlo and permutation tests where the test statistic is a multivariate vector or function (e.g. goodness-of-fit testing for point patterns and random sets, functional ANOVA, functional GLM, n-sample test of correspondence of distribution functions), and for global confidence and prediction bands (e.g. confidence band in polynomial regression, Bayesian posterior prediction).

The development version

The github repository holds a copy of the current development version of the contributed R package GET.

This development version is as or more recent than the official release of GET on the Comprehensive R Archive Network (CRAN) at https://cran.r-project.org/package=GET

Where is the official release?

For the most recent official release of GET, see https://cran.r-project.org/package=GET

Installation

Installing the official release

To install the official release of GET from CRAN, start R and type

install.packages('GET')

Installing the development version

The easiest way to install the GET library from github is through the remotes package. Start R and type:

require(remotes)
install_github('myllym/GET')

If you do not have the R library remotes installed, install it first by running

install.packages("remotes")

After installation, in order to start using GET, load it to R and see the main help page, which describes the functions of the library:

require(GET)
help('GET-package')

If you want to have also vignettes working, you should also install packages from the 'suggests' field (fda and fda.usc), have MiKTeX on your computer, and install the library with

install_github('myllym/GET', build_vignettes = TRUE)

Vignettes

The package contains two vignettes. The GET vignette describes the package in general. It is available by starting R and typing

library("GET")
vignette("GET")

This vignette corresponds to Myllymäki and Mrkvička (2020).

The package provides also a vignette for global envelopes for point pattern analyses, which is available by starting R and typing

library("GET")
vignette("pointpatterns")

Branches

Currently two branches are provided in the development version. The main branch of GET is called master.

The other branch is called FDR and it includes also the experimental FDR envelopes tested in Mrkvička and Myllymäki (2022, False discovery rate envelopes. arXiv:2008.10108 [stat.ME]). The main branch includes the FDR envelopes which were found to have good performance in Mrkvička and Myllymäki (2022).

References

To cite GET in publications use

Myllymäki, M. and Mrkvička, T. (2020). GET: Global envelopes in R. arXiv:1911.06583 [stat.ME] URL: https://arxiv.org/abs/1911.06583

Myllymäki, M., Mrkvička, T., Grabarnik, P., Seijo, H. and Hahn, U. (2017). Global envelope tests for spatial processes. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 79: 381-404. doi: 10.1111/rssb.12172 http://dx.doi.org/10.1111/rssb.12172 (You can find the preprint version of the article here: http://arxiv.org/abs/1307.0239v4)

and a suitable selection of:

Mrkvička, T., Myllymäki, M. and Hahn, U. (2017). Multiple Monte Carlo testing, with applications in spatial point processes. Statistics and Computing 27 (5): 1239-1255. https://doi.org/10.1007/s11222-016-9683-9

Mrkvička, T., Myllymäki, M., Jilek, M. and Hahn, U. (2020). A one-way ANOVA test for functional data with graphical interpretation. Kybernetika 56 (3), 432-458. http://doi.org/10.14736/kyb-2020-3-0432

Mrkvička, T., Myllymäki, M., Kuronen, M. and Narisetty, N. N. (2022). New methods for multiple testing in permutation inference for the general linear model. Statistics in Medicine 41(2), 276-297. https://doi.org/10.1002/sim.9236

Mrkvička and Myllymäki (2022). False discovery rate envelopes. arXiv:2008.10108 [stat.ME]

Mrkvička, T., Roskovec, T. and Rost, M. (2021). A nonparametric graphical tests of significance in functional GLM. Methodology and Computing in Applied Probability 23, 593-612. https://doi.org/10.1007/s11009-019-09756-y

Mrkvička, T., Soubeyrand, S., Myllymäki, M., Grabarnik, P., and Hahn, U. (2016). Monte Carlo testing in spatial statistics, with applications to spatial residuals. Spatial Statistics 18, Part A: 40--53. https://doi.org/10.1016/j.spasta.2016.04.005

Myllymäki, M., Grabarnik, P., Seijo, H., and Stoyan, D. (2015). Deviation test construction and power comparison for marked spatial point patterns. Spatial Statistics 11: 19-34. https://doi.org/10.1016/j.spasta.2014.11.004 (You can find the preprint version of the article here: http://arxiv.org/abs/1306.1028)

Myllymäki, M., Kuronen, M. and Mrkvička, T. (2020). Testing global and local dependence of point patterns on covariates in parametric models. Spatial Statistics 42, 100436, https://doi.org/10.1016/j.spasta.2020.100436

Dai, W., Athanasiadis, S. and Mrkvička, T. (2022). A new functional clustering method with combined dissimilarity sources and graphical interpretation. Intech open. https://doi.org/10.5772/intechopen.100124

Copy Link

Version

Install

install.packages('GET')

Monthly Downloads

1,634

Version

0.4

License

GPL-3

Maintainer

Mari Myllym<c3><a4>ki

Last Published

April 20th, 2023

Functions in GET (0.4)

GET.localcor

The test of local correlations
GDPtax

GDP per capita with country groups and profit tax
GET.composite

Adjusted global envelope tests
GET-package

Global Envelopes
GET.necdf

Graphical n sample test of correspondence of distribution functions
GET.variogram

Variogram and residual variogram with global envelopes
GET.distrindep

Test of independence of two general distributions
GET.spatialF

Testing global and local dependence of point patterns on covariates
abide_9002_23

Local brain activity at resting state
GDP

GDP
create_curve_set

Create a curve_set object
fBoxplot

Functional boxplot
crop_curves

Crop the curves
combined_scaled_MAD_envelope_test

Combined global scaled maximum absolute difference (MAD) envelope tests
create_image_set

Create a curve set of images
deviation_test

Deviation test
adult_trees

Adult trees data set
cgec

Centred government expenditure centralization ratios
central_region

Central region / Global envelope
fallen_trees

Fallen trees
imageset3

A simulated set of images
graph.flm

Graphical functional GLM
fclustering

Functional clustering
frank.flm

F rank functional GLM
forder

Functional ordering
graph.fanova

One-way graphical functional ANOVA
global_envelope_test

Global envelope test
fdr_envelope

The FDR envelope
is.curve_set

Check class.
frank.fanova

Rank envelope F-test
plot.global_envelope

Plot method for the class 'global_envelope'
plot.global_envelope2d

Plotting function for 2d global envelopes
plot.combined_global_envelope

Plot method for the class 'combined_global_envelope'
plot.combined_global_envelope2d

Plotting function for combined 2d global envelopes
print.deviation_test

Print method for the class 'deviation_test'
print.global_envelope

Print method for the class 'global_envelope'
plot.curve_set2d

Plot method for the class 'curve_set2d'
plot.curve_set

Plot method for the class 'curve_set'
print.fdr_envelope

Print method for the class 'fdr_envelope'
print.curve_set

Print method for the class 'curve_set'
popgrowthmillion

Population growth
plot.combined_fboxplot

Plot method for the class 'combined_fboxplot'
partial_forder

Functional ordering in parts
print.GET_contingency

Print method for the class 'GET_contingency'
plot.fclust

Plot method for the class 'fclust'
print.fclust

Print method for the class 'fclust'
print.fboxplot

Print method for the class 'fboxplot'
plot.fboxplot

Plot method for the class 'fboxplot'
residual

Residual form of the functions
rimov

Year temperature curves
qdir_envelope

Global scaled maximum absolute difference (MAD) envelope tests
rank_envelope

The rank envelope test
print.combined_global_envelope

Print method for the class 'combined_global_envelope'
print.combined_fboxplot

Print method for the class 'combined_fboxplot'
saplings

Saplings data set
subset.curve_set

Subsetting curve sets