EnvStats3.0.0 package

Package for Environmental Statistics, Including US EPA Guidance

tolIntLnormCensored

Tolerance Interval for a Lognormal Distribution Based on Censored Data

tolIntNorm

Tolerance Interval for a Normal Distribution

tolIntNormCensored

Tolerance Interval for a Normal Distribution Based on Censored Data

tolIntNormHalfWidth

Half-Width of a Tolerance Interval for a Normal Distribution

tolIntNormK

Compute the Value of KK for a Tolerance Interval for a Normal Distrib...

tolIntNormN

Sample Size for a Specified Half-Width of a Tolerance Interval for a N...

tolIntNpar

Nonparametric Tolerance Interval for a Continuous Distribution

tolIntNparConfLevel

Confidence Level for Nonparametric Tolerance Interval for Continuous D...

tolIntNparCoverage

Coverage for Nonparametric Tolerance Interval for Continuous Distribut...

tolIntNparN

Sample Size for Nonparametric Tolerance Interval for Continuous Distri...

tolIntPois

Tolerance Interval for a Poisson Distribution

Triangular

The Triangular Distribution

tTestAlpha

Type I Error Level for a One- or Two-Sample t-Test

tTestLnormAltN

Sample Size for a One- or Two-Sample t-Test, Assuming Lognormal Data

tTestLnormAltPower

Power of a One- or Two-Sample t-Test Assuming Lognormal Data

tTestLnormAltRatioOfMeans

Minimal or Maximal Detectable Ratio of Means for One- or Two-Sample t-...

tTestN

Sample Size for a One- or Two-Sample t-Test

tTestPower

Power of a One- or Two-Sample t-Test

tTestScaledMdd

Scaled Minimal Detectable Difference for One- or Two-Sample t-Test

newsEnvStats

Show the EnvStats NEWS File

NormalMix

Mixture of Two Normal Distributions

elnorm

Estimate Parameters of a Lognormal Distribution (Log-Scale)

elnorm3

Estimate Parameters of a Three-Parameter Lognormal Distribution (Log-S...

elnormAlt

Estimate Parameters of a Lognormal Distribution (Original Scale)

elnormAltCensored

Estimate Parameters for a Lognormal Distribution (Original Scale) Base...

elnormCensored

Estimate Parameters for a Lognormal Distribution (Log-Scale) Based on ...

elogis

Estimate Parameters of a Logistic Distribution

Empirical

The Empirical Distribution Based on a Set of Observations

enbinom

Estimate Probability Parameter of a Negative Binomial Distribution

enorm

Estimate Parameters of a Normal (Gaussian) Distribution

enormCensored

Estimate Parameters for a Normal Distribution Based on Type I Censored...

enpar

Estimate Mean, Standard Deviation, and Standard Error Nonparametricall...

enparCensored

Estimate Mean, Standard Deviation, and Standard Error Nonparametricall...

Environmental

Atmospheric Environmental Conditions in New York City

EnvStats-internal

Internal EnvStats Objects

epareto

Estimate Parameters of a Pareto Distribution

epdfPlot

Plot Empirical Probability Density Function

epois

Estimate Parameter of a Poisson Distribution

epoisCensored

Estimate Mean of a Poisson Distribution Based on Type I Censored Data

eqbeta

Estimate Quantiles of a Beta Distribution

eqbinom

Estimate Quantiles of a Binomial Distribution

eqevd

Estimate Quantiles of an Extreme Value (Gumbel) Distribution

eqexp

Estimate Quantiles of an Exponential Distribution

eqgamma

Estimate Quantiles of a Gamma Distribution

eqgeom

Estimate Quantiles of a Geometric Distribution

eqgevd

Estimate Quantiles of a Generalized Extreme Value Distribution

eqhyper

Estimate Quantiles of a Hypergeometric Distribution

eqlnorm

Estimate Quantiles of a Lognormal Distribution

eqlnorm3

Estimate Quantiles of a Three-Parameter Lognormal Distribution

eqlnormCensored

Estimate Quantiles of a Lognormal Distribution Based on Type I Censore...

eqlogis

Estimate Quantiles of a Logistic Distribution

eqnbinom

Estimate Quantiles of a Negative Binomial Distribution

eqnorm

Estimate Quantiles of a Normal Distribution

eqnormCensored

Estimate Quantiles of a Normal Distribution Based on Type I Censored D...

eqnpar

Estimate Quantiles of a Distribution Nonparametrically

eqpareto

Estimate Quantiles of a Pareto Distribution

eqpois

Estimate Quantiles of a Poisson Distribution

equnif

Estimate Quantiles of a Uniform Distribution

eqweibull

Estimate Quantiles of a Weibull Distribution

eqzmlnorm

Estimate Quantiles of a Zero-Modified Lognormal (Delta) Distribution

eqzmnorm

Estimate Quantiles of a Zero-Modified Normal Distribution

errorBar

Plot Pointwise Error Bars

estimate.object

S3 Class "estimate"

estimateCensored.object

S3 Class "estimateCensored"

EulersConstant

Euler's Constant

eunif

Estimate Parameters of a Uniform Distribution

EVD

The Extreme Value (Gumbel) Distribution

evNormOrdStats

Expected Value of Order Statistics for Random Sample from Standard Nor...

eweibull

Estimate Parameters of a Weibull Distribution

ezmlnorm

Estimate Parameters of a Zero-Modified Lognormal (Delta) Distribution

ezmnorm

Estimate Parameters of a Zero-Modified Normal Distribution

FcnsByCat

EnvStats Functions Listed by Category

FcnsByCatCalibration

EnvStats Functions for Calibration

FcnsByCatCensoredData

EnvStats Functions for Censored Data

FcnsByCatDataTrans

EnvStats Functions for Data Transformations

FcnsByCatEstDistParams

EnvStats Functions for Estimating Distribution Parameters

FcnsByCatEstDistQuants

EnvStats Functions for Estimating Distribution Quantiles

NormalTrunc

The Truncated Normal Distribution

oneSamplePermutationTest

Fisher's One-Sample Randomization (Permutation) Test for Location

Pareto

The Pareto Distribution

pdfPlot

Plot Probability Density Function

permutationTest.object

S3 Class "permutationTest"

plot.boxcox

Plot Results of Box-Cox Transformations

plot.boxcoxCensored

Plot Results of Box-Cox Transformations Based on Type I Censored Data

plot.boxcoxLm

Plot Results of Box-Cox Transformations for a Linear Model

plot.gof

Plot Results of Goodness-of-Fit Test

plot.gofCensored

Plot Results of Goodness-of-Fit Test Based on Censored Data

plot.gofGroup

Plot Results of Group Goodness-of-Fit Test

plot.gofTwoSample

Plot Results of Goodness-of-Fit Test to Compare Two Samples

plot.permutationTest

Plot Results of Permutation Test

plotAovDesign

Create Plots for a Sampling Design Based on a One-Way Fixed-Effects An...

plotCiBinomDesign

Plots for Sampling Design Based on Confidence Interval for Binomial Pr...

plotCiNormDesign

Plots for Sampling Design Based on Confidence Interval for Mean of a N...

plotCiNparDesign

Plots for Sampling Design Based on Nonparametric Confidence Interval f...

plotLinearTrendTestDesign

Plots for a Sampling Design Based on a t-Test for Linear Trend

plotPredIntLnormAltSimultaneousTestPowerCurve

Power Curves for Sampling Design for Test Based on Simultaneous Predic...

plotPredIntLnormAltTestPowerCurve

Power Curves for Sampling Design for Test Based on Prediction Interval...

plotPredIntNormDesign

Plots for a Sampling Design Based on a Prediction Interval for the Nex...

plotPredIntNormSimultaneousTestPowerCurve

Power Curves for Sampling Design for Test Based on Simultaneous Predic...

plotPredIntNormTestPowerCurve

Power Curves for Sampling Design for Test Based on Prediction Interval...

plotPredIntNparDesign

Plots for a Sampling Design Based on a Nonparametric Prediction Interv...

plotPredIntNparSimultaneousDesign

Plots for a Sampling Design Based on a Simultaneous Nonparametric Pred...

plotPredIntNparSimultaneousTestPowerCurve

Power Curves for Sampling Design for Test Based on Nonparametric Simul...

plotPropTestDesign

Plots for Sampling Design Based on One- or Two-Sample Proportion Test

plotTolIntNormDesign

Plots for a Sampling Design Based on a Tolerance Interval for a Normal...

plotTolIntNparDesign

Plots for a Sampling Design Based on a Nonparametric Tolerance Interva...

plotTTestDesign

Plots for a Sampling Design Based on a One- or Two-Sample t-Test

plotTTestLnormAltDesign

Plots for a Sampling Design Based on a One- or Two-Sample t-Test, Assu...

pointwise

Pointwise Confidence Limits for Predictions

ppointsCensored

Plotting Positions for Type I Censored Data

predict.lm

Predict Method for Linear Model Fits

predict

Model Predictions

predIntGamma

Prediction Interval for Gamma Distribution

predIntGammaSimultaneous

Simultaneous Prediction Interval for a Gamma Distribution

predIntLnorm

Prediction Interval for a Lognormal Distribution

predIntLnormAltSimultaneousTestPower

Probability That at Least One Set of Future Observations Violates the ...

predIntLnormAltTestPower

Probability That at Least One Future Observation Falls Outside a Predi...

predIntLnormSimultaneous

Simultaneous Prediction Interval for a Lognormal Distribution

predIntNorm

Prediction Interval for a Normal Distribution

predIntNormHalfWidth

Half-Width of a Prediction Interval for the next kk Observations from...

predIntNormK

Compute the Value of KK for a Prediction Interval for a Normal Distri...

predIntNormN

Sample Size for a Specified Half-Width of a Prediction Interval for th...

predIntNormSimultaneous

Simultaneous Prediction Interval for a Normal Distribution

predIntNormSimultaneousK

Compute the Value of KK for a Simultaneous Prediction Interval for a ...

predIntNormSimultaneousTestPower

Probability That at Least One Set of Future Observations Violates the ...

predIntNormTestPower

Probability That at Least One Future Observation Falls Outside a Predi...

predIntNpar

Nonparametric Prediction Interval for a Continuous Distribution

predIntNparConfLevel

Confidence Level for Nonparametric Prediction Interval for Continuous ...

predIntNparN

Sample Size for a Nonparametric Prediction Interval for a Continuous D...

predIntNparSimultaneous

Nonparametric Simultaneous Prediction Interval for a Continuous Distri...

predIntNparSimultaneousConfLevel

Confidence Level of Simultaneous Nonparametric Prediction Interval for...

predIntNparSimultaneousN

Sample Size for Simultaneous Nonparametric Prediction Interval for Con...

predIntNparSimultaneousTestPower

Probability That at Least One Set of Future Observations Violates the ...

predIntPois

Prediction Interval for a Poisson Distribution

print.boxcox

Print Output of Objective for Box-Cox Power Transformations

print.boxcoxCensored

Print Output of Objective for Box-Cox Power Transformations Based on T...

print.boxcoxLm

Print Output of Objective for Box-Cox Power Transformations for an "lm...

print.distChoose

Print Output of Goodness-of-Fit Tests

twoSampleLinearRankTest

Two-Sample Linear Rank Test to Detect a Difference Between Two Distrib...

twoSampleLinearRankTestCensored

Two-Sample Linear Rank Test to Detect a Difference Between Two Distrib...

twoSamplePermutationTestLocation

Two-Sample or Paired-Sample Randomization (Permutation) Test for Locat...

qqPlotGestalt

Develop Gestalt of Q-Q Plots for Specific Distributions

quantileTest

Two-Sample Rank Test to Detect a Shift in a Proportion of the "Treated...

quantileTestPValue

Compute p-Value for the Quantile Test

rosnerTest

Rosner's Test for Outliers

serialCorrelationTest

Test for the Presence of Serial Correlation

signTest

One-Sample or Paired-Sample Sign Test on a Median

simulateMvMatrix

Simulate a Multivariate Matrix Based on a Specified Rank Correlation M...

simulateVector

Simulate a Vector of Random Numbers From a Specified Theoretical or Em...

skewness

Coefficient of Skewness

stat_mean_sd_text

Add Text Indicating the Mean and Standard Deviation to a ggplot2 Plot

stat_median_iqr_text

Add Text Indicating the Median and Interquartile Range to a ggplot2 Pl...

stat_n_text

Add Text Indicating the Sample Size to a ggplot2 Plot

stat_test_text

Add Text to a ggplot2 Plot Indicating the Results of a Hypothesis Test

stripChart

1-D Scatter Plots with Confidence Intervals

summaryFull

Full Complement of Summary Statistics

twoSamplePermutationTestProportion

Randomization (Permutation) Test to Compare Two Proportions (Fisher's ...

varGroupTest

Test for Homogeneity of Variance Among Two or More Groups

varTest

One-Sample Chi-Squared Test on Variance

ZeroModifiedLognormal

The Zero-Modified Lognormal (Delta) Distribution

ZeroModifiedLognormalAlt

The Zero-Modified Lognormal (Delta) Distribution (Alternative Paramete...

ZeroModifiedNormal

The Zero-Modified Normal Distribution

zTestGevdShape

Test Whether the Shape Parameter of a Generalized Extreme Value Distri...

FcnsByCatGOFTests

EnvStats Functions for Goodness-of-Fit Tests

anovaPE

Compute Lack-of-Fit and Pure Error Anova Table for a Linear Model

aovN

Compute Sample Size Necessary to Achieve Specified Power for One-Way F...

aovPower

Compute the Power of a One-Way Fixed-Effects Analysis of Variance

base

Base bb Representation of a Number

boxcox.object

S3 Class "boxcox"

boxcox

Boxcox Power Transformation

boxcoxCensored.object

S3 Class "boxcoxCensored"

boxcoxCensored

Boxcox Power Transformation for Type I Censored Data

boxcoxLm.object

S3 Class "boxcoxLm"

boxcoxTransform

Apply a Box-Cox Power Transformation to a Set of Data

gofTestCensored

Goodness-of-Fit Test for Normal or Lognormal Distribution Based on Cen...

calibrate.object

S3 Class "calibrate"

calibrate

Fit a Calibration Line or Curve

CastilloAndHadi1994

Abstract: Castillo and Hadi (1994)

cdfCompare

Plot Two Cumulative Distribution Functions

cdfCompareCensored

Plot Two Cumulative Distribution Functions Based on Censored Data

cdfPlot

Plot Cumulative Distribution Function

chenTTest

Chen's Modified One-Sided t-test for Skewed Distributions

Chi

The Chi Distribution

ciBinomHalfWidth

Half-Width of Confidence Interval for Binomial Proportion or Differenc...

ciBinomN

Sample Size for Specified Half-Width of Confidence Interval for Binomi...

ciNormHalfWidth

Half-Width of Confidence Interval for Normal Distribution Mean or Diff...

ciNormN

Sample Size for Specified Half-Width of Confidence Interval for Normal...

ciNparConfLevel

Compute Confidence Level Associated with a Nonparametric Confidence In...

LognormalTrunc

The Truncated Lognormal Distribution

ciNparN

Sample Size for Nonparametric Confidence Interval for a Quantile

ciTableMean

Table of Confidence Intervals for Mean or Difference Between Two Means

ciTableProp

Table of Confidence Intervals for Proportion or Difference Between Two...

cv

Sample Coefficient of Variation.

detectionLimitCalibrate

Determine Detection Limit

distChoose.object

S3 Class "distChoose"

distChoose

Choose Best Fitting Distribution Based on Goodness-of-Fit Tests

distChooseCensored.object

S3 Class "distChooseCensored"

distChooseCensored

Choose Best Fitting Distribution Based on Goodness-of-Fit Tests for Ce...

ebeta

Estimate Parameters of a Beta Distribution

ebinom

Estimate Parameter of a Binomial Distribution

ecdfPlot

Empirical Cumulative Distribution Function Plot

ecdfPlotCensored

Empirical Cumulative Distribution Function Plot Based on Type I Censor...

eevd

Estimate Parameters of an Extreme Value (Gumbel) Distribution

eexp

Estimate Rate Parameter of an Exponential Distribution

egamma

Estimate Parameters of Gamma Distribution

egammaAltCensored

Estimate Mean and Coefficient of Variation for a Gamma Distribution Ba...

egammaCensored

Estimate Shape and Scale Parameters for a Gamma Distribution Based on ...

egeom

Estimate Probability Parameter of a Geometric Distribution

egevd

Estimate Parameters of a Generalized Extreme Value Distribution

ehyper

Estimate Parameter of a Hypergeometric Distribution

FcnsByCatHypothTests

EnvStats Functions for Hypothesis Tests

FcnsByCatMCandRisk

EnvStats Functions for Monte Carlo Simulation and Risk Assessment

FcnsByCatPlotProbDists

EnvStats Functions for Plotting Probability Distributions

FcnsByCatPlotUsingggplot2

EnvStats Functions for Creating Plots Using the ggplot2 Package

FcnsByCatPower

EnvStats Functions for Power and Sample Size Calculations

FcnsByCatPredInts

EnvStats Functions for Prediction Intervals

FcnsByCatPrintPlot

EnvStats Functions for Printing and Plotting Objects of Various S3 Cla...

LognormalTruncAlt

The Truncated Lognormal Distribution (Alternative Parameterization)

longToWide

Convert a Long Format Data Set into a Wide Format

FcnsByCatProbDists

EnvStats Probability Distributions and Random Numbers

FcnsByCatSumStats

EnvStats Functions for Summary Statistics and Plots

FcnsByCatTolInts

EnvStats Functions for Tolerance Intervals

FcnsByCatTrend

EnvStats Functions for Trend Analysis

GammaAlt

The Gamma Distribution (Alternative Parameterization)

geom_stripchart

1-D Scatter Plots with Confidence Intervals Using ggplot2

geoMean

Geometric Mean

geoSD

Geometric Standard Deviation.

GEVD

The Generalized Extreme Value Distribution

gof.object

S3 Class "gof"

gofCensored.object

S3 Class "gofCensored"

gofGroup.object

S3 Class "gofGroup"

gofGroupTest

Goodness-of-Fit Test for a Specified Probability Distribution for Grou...

gofOutlier.object

S3 Class "gofOutlier"

gofTest

Goodness-of-Fit Test

gofTwoSample.object

S3 Class "gofTwoSample"

gpqCiNormCensored

Generalized Pivotal Quantity for Confidence Interval for the Mean of a...

gpqTolIntNormCensored

Generalized Pivotal Quantity for Tolerance Interval for a Normal Distr...

HoskingEtAl1985

Abstract: Hosking et al. (1985)

htest.object

S3 Class "htest"

htestCensored.object

S3 Class "htestCensored"

inversePredictCalibrate

Predict Concentration Using Calibration

iqr

Interquartile Range

kendallSeasonalTrendTest

Nonparametric Test for Monotonic Trend Within Each Season Based on Ken...

kendallTrendTest

Kendall's Nonparametric Test for Montonic Trend

kurtosis

Coefficient of (Excess) Kurtosis

linearTrendTestN

Sample Size for a t-Test for Linear Trend

linearTrendTestPower

Power of a t-Test for Linear Trend

linearTrendTestScaledMds

Scaled Minimal Detectable Slope for a t-Test for Linear Trend

lMoment

Estimate LL-Moments

Lognormal3

The Three-Parameter Lognormal Distribution

LognormalAlt

The Lognormal Distribution (Alternative Parameterization)

LognormalMix

Mixture of Two Lognormal Distributions

LognormalMixAlt

Mixture of Two Lognormal Distributions (Alternative Parameterization)

print.distChooseCensored

Print Output of Goodness-of-Fit Tests

print.estimate

Print Objects of Class "estimate"

print.estimateCensored

Print Objects of Class "estimateCensored"

print.gof

Print Output of Goodness-of-Fit Tests

summaryStats.object

S3 Class "summaryStats"

print.gofCensored

Print Output of Goodness-of-Fit Tests Based on Censored Data

print.gofGroup

Print Output of Group Goodness-of-Fit Tests

print.gofOutlier

Print Output of Goodness-of-Fit Outlier Tests

print.gofTwoSample

Print Output of Two-Sample Goodness-of-Fit Tests

summaryStats

Summary Statistics

tolIntGamma

Tolerance Interval for a Gamma Distribution

tolIntLnorm

Tolerance Interval for a Lognormal Distribution

print.htestCensored

Print Output of Hypothesis Tests Based on Censored Data

print.htestEnvStats

Print Output of Hypothesis Tests

print.permutationTest

Print Output of Permutation Tests

print.summaryStats

Print Summary Statistics

propTestMdd

Minimal Detectable Difference Associated with a One- or Two-Sample Pro...

propTestN

Compute Sample Size Necessary to Achieve a Specified Power for a One- ...

propTestPower

Compute the Power of a One- or Two-Sample Proportion Test

pwMoment

Estimate Probability-Weighted Moments

qqPlot

Quantile-Quantile (Q-Q) Plot

qqPlotCensored

Quantile-Quantile (Q-Q) Plot for Type I Censored Data

Graphical and statistical analyses of environmental data, with focus on analyzing chemical concentrations and physical parameters, usually in the context of mandated environmental monitoring. Major environmental statistical methods found in the literature and regulatory guidance documents, with extensive help that explains what these methods do, how to use them, and where to find them in the literature. Numerous built-in data sets from regulatory guidance documents and environmental statistics literature. Includes scripts reproducing analyses presented in the book "EnvStats: An R Package for Environmental Statistics" (Millard, 2013, Springer, ISBN 978-1-4614-8455-4, <doi:10.1007/978-1-4614-8456-1>).

  • Maintainer: Alexander Kowarik
  • License: GPL (>= 3)
  • Last published: 2024-08-24