Statistical functions to fit, validate and describe a Generalized
    Waring Regression Model (GWRM).

Computes the sample probability value (p-value)
    for the estimated coefficient from a standard
    genome-wide univariate regression.  It computes the exact
    finite-sample p-value under the assumption that the measured
    phenotype (the dependent variable in the regression) has
    a known Bernoulli-normal mixture distribution.
    Finite-sample genome-wide regression p-values (Gwrpv) with
    a non-normally distributed phenotype (Gregory Connor and
    Michael O'Neill, bioRxiv 204727 <doi:10.1101/204727>).

Fits geographically weighted regression (GWR) models and has tools to diagnose and remediate collinearity in the GWR models. Also fits geographically weighted ridge regression (GWRR) and geographically weighted lasso (GWL) models. See Wheeler (2009) <doi:10.1068/a40256> and Wheeler (2007) <doi:10.1068/a38325> for more details.

Shiny application for the analysis of groundwater
    monitoring data, designed to work with simple time-series data for
    solute concentration and ground water elevation, but can also plot
    non-aqueous phase liquid (NAPL) thickness if required. Also provides
    the import of a site basemap in GIS shapefile format.

The correlations and linkage disequilibrium between tests can vary as a function of minor allele frequency thresholds used to filter variants, and also varies with different choices of test statistic for region-based tests. Appropriate genome-wide significance thresholds can be estimated empirically through permutation on only a small proportion of the whole genome.

Fits a geographically weighted regression model
	using zero inflated probability distributions. Has the zero 
	inflated negative binomial distribution (zinb) as default, 
	but also accepts the zero inflated Poisson (zip), negative
	binomial (negbin) and Poisson distributions. Can also fit 
	the global versions of each regression model.
	Da Silva, A. R. & De Sousa, M. D. R. (2023). "Geographically weighted zero-inflated negative binomial regression: A general case for count data", Spatial Statistics <doi:10.1016/j.spasta.2023.100790>.
	Brunsdon, C., Fotheringham, A. S., & Charlton, M. E. (1996). "Geographically weighted regression: a method for exploring spatial nonstationarity", Geographical Analysis, <doi:10.1111/j.1538-4632.1996.tb00936.x>.
	Yau, K. K. W., Wang, K., & Lee, A. H. (2003). "Zero-inflated negative binomial mixed regression modeling of over-dispersed count data with extra zeros", Biometrical Journal, <doi:10.1002/bimj.200390024>.