Learn R Programming

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

climtrends (version 1.0.5)

Statistical Methods for Climate Sciences

Description

Absolute homogeneity tests SNHT absolute 1-breaks, 1-break, SD different from 1, 2-breaks, Buishand, Pettitt, von Neumann ratio and ratio-rank, Worsley, and Craddock, Relative homogeneity tests SNHT absolute 1-breaks, 1-break SD different from 1, 2-breaks, Peterson and Easterling, and Vincent, Differences in scale between two groups Siegel–Tukey, Create reference time series mean, weights/correlation, finding outliers Grubbs, ESD, MAD, Tietjen Moore, Hampel, etc.

Copy Link

Version

Install

install.packages('climtrends')

Monthly Downloads

9

Version

1.0.5

License

GPL (>= 3)

Maintainer

Jose Gama

Last Published

September 20th, 2015

Functions in climtrends (1.0.5)

SNHT.Critical.Values

Critical values for the Pettitt test
FindOutliersHampel

Find outliers based on quantiles
FindOutliersSD

Find outliers based on quantiles
DailyClimatologyFromDailyData

Daily climatology
SNHTabsolute

standard normal homogeneity test (SNHT) absolute homogeneity test
ValuesBetween2years

Get values between two years
ESDstatistic

ESD statistic
Rank.Von.Neumann.Ratio.Test.Critical.Values

Critical values for the Rank Von-Neumann Ratio Test
ValuesBetween2Dates

Get values between two dates
MonthlyAnomaliesFromDailyData

Monthly anomalies
SNHTrelativeTrend

standard normal homogeneity test (SNHT) relative homogeneity test for trends
ListHomogStats

List with the years of a probable shift and other info
BSXFUN

Apply a function to each element of 2 arrays with singleton expansion enabled
VonNeumannRatio

Pettitt test
CreateReferenceSeriesFromFilesMean

Create a reference series (averaging)
SNHT.TwoShifts.Critical.Values

Critical values for the standard normal homogeneity test (SNHT) for two shifts
YearFuncFromDay

Annual values converted from daily values
SNHTrelativeDoubleShift

standard normal homogeneity test (SNHT) relative homogeneity test for two shifts
SNHTrelative2SDs

standard normal homogeneity test (SNHT) relative homogeneity test for two different SDs
AllfilesIEObyPathPattern

Read multiple IEO files
FindCommonPeriod

Find the common period between several time series
PlotSeriesAndRefSimple

Plot a series and one or more reference series
ReadYearAnd12MonthsData

Read a TAB delimited data file with year and months in columns
PlotHomog

Plot the graphics for many homogenization methods
annual.precipitation.totals.Madison

Annual precipitation totals in inches Madison (Wisconsin)
SNHTabsoluteDoubleShift

standard normal homogeneity test (SNHT) absolute homogeneity test for two shifts
ListContinuousDays

List the days with continuous data
TietjenMoore

Tietjen Moore statistic
ReadUSHCN

Read USHCN files
FindOutliersESDtest

Find outliers based on the ESD test
localwindow

Internal RAHRS functions
SNHTabsoluteTrend

standard normal homogeneity test (SNHT) absolute homogeneity test for trends
CumulativeDeviations

cumulative deviations test (parametric test for step jump in mean)
WorsleyLikelihoodRatio

Worsley's Likelihood Ratio test
VonNeumannRatioRank

Von Neumann ratio rank test
FindOutliersZscore

Find outliers based on the z-score
ReadGHCNymd

Read GHCN-Daily files
SiegelTukey

annual mean of the absolute day-to-day differences of DTR (SiegelTukey)
RankSumTest

Rank Sum test
FillYearlyGapsWithSomeValue

fill missing days with some value
AllReadUSGS2timeseries

Read multiple USGS files
VDTR

annual mean of the absolute day-to-day differences of DTR (VDTR)
FindOutliersTietjenMooreTest

Find outliers based on the Tietjen Moore test
AdjHomogenization

Homogenization adjustment within a certain window
ReadPSMSLmonthly

Read PSMSL files
ReadEtmgegFile

Read USHCN files
TurningPointsTest

Turning Points (non-parametric test for randomness)
CraddockTest

Craddock test
ReadClimexpKnmiNL12month

Read monthly values KNMI Climate Explorer files
WetDayCount

Get number of wet days
ReadClimexpKnmiNL

Read KNMI Climate Explorer files
yearly.average.temperature.Turin.Milan

Yearly average temperature in Turin, Milan
MonthlyFuncFromDay

Monthly values converted from daily values
FindOutliersMAD

Find outliers based on the absolute deviation around the median
MedianCrossingTest

Median Crossing (non-parametric test for randomness)
LastDayOfTheMonth

Get the last day of a month
ReadCRDEC

Read GHCN-D files
ReadUSGS2timeseries

Read a a USGS discharge file
LevelSignifMarks

Use symbols to represent the level of significance
Pettitt.Critical.Values

Critical values for the Pettitt test
FindOutliersTrimmedMeans

Find outliers based on trimmed means
PlotSeriesDifference

Plot the difference between 2 series
Sqplot

Number of elements for a plot to be nearly square
Buishand.Critical.Values

Critical values for the Buishand test
FillDailyGapsWithSomeValue

fill missing days with some value
MonthTrendYearsFuncFromDay

Monthly values converted from daily values
ReadNdp040stationDat

Read data from a CDIAC data file
SNHT.TwoDifferentSDs.Critical.Values

Critical values for the standard normal homogeneity test (SNHT) for two different SDs
Worsley.Likelihood.Ratio.Test.Critical.Values

Critical values for Worsley's likelihood ratio test
ReadECAdata

Read data from a ECA data file
GetShiftValue

Get peak value and its sign
PettittTest

Pettitt test
FindOutliersQuant

Find outliers based on quantiles
IsLeapYear

Determine if a year is a leap year
MonthlyClimatologyFromDailyData

Monthly climatology
SNHTabsoluteII

standard normal homogeneity test (SNHT) absolute homogeneity test, SD different from 1
ReadHERTTAdailyCSV

Read HERTTA files
ListHomogTZ

Useful info from an homogenization test
CompleteMissingValuesDailyMean

complete missing values on a time series of daily values (mean)
FindOutliersGrubbsTwosided

Find outliers based on the Grubbs test
GetNDP

Read data from a Numeric Data Package (NDP) file from GCMD
CreateReferenceSeriesFromFilesMeanCorrelations

Create a reference series (averaging weights/correlations)
peaksP

Use symbols to represent the level of significance
TrimmedMean

trimmed mean
ReadHERTTAdmyQdaily

Read HERTTA month+year+Q files
GetInfoHomogenization

Useful info from an homogenization test
ReadMeteoSwiss

Read MeteoSwiss files
SNHTabsolute2SDs

standard normal homogeneity test (SNHT) absolute homogeneity test for two different SDs
BuishandRangeTest

Buishand range absolute homogeneity test
FirstMonthOfSeason

Get the first/last month of a season
SNHTrelative

standard normal homogeneity test (SNHT) relative homogeneity test
DistributionFreeCUSUM

Distribution Free CUSUM (non-parametric test for step jump in mean)
Von.Neumann.Ratio.Test.Critical.Values

Critical values for the Von Neumann ratio test
woOp

x without y
SNHTrelativeII

standard normal homogeneity test (SNHT) relative homogeneity test, SD different from 1
RankDifferenceTest

Rank Difference test (non-parametric test for randomness)