| NEWS | R Documentation | 
News for Package RecordTest
Changes in Version 2.2.0 (06 August 2023)
NEW FEATURES
- Implementation of "approximate" or "random" permutation tests with the argument - permutation.testin the functions- change.point,- foster.test, and- N.test. The tests use samples with repetition of permutations, they do not use all possible permutations. Unlike previous exact, asymptotic, or Monte Carlo tests, permutation tests still ensure test size by introducing a matrix- Xwith dependent columns as an argument.
MODIFICATIONS
- References update for the new applied publication Castillo-Mateo, Cebrian and Asin (2023) <doi:10.1016/j.atmosres.2023.106934>. 
-  RecordTest logo update. 
BUG FIXES
- Function - recordswhen- plot = FALSEreturned the wrong backward record values. It returned the values of the forward series on the backward record times. This issue was fixed.
- Function - L.recordreturned a matrix instead of a list when all series had the same number of records. Function- R.recordreturned incorrect output when all series had the same number of records or there were only one series. These issues were fixed and both functions return a list in any case.
- Function - series_untienow admits- NAor- NaNvalues without returning- NaN's.
Changes in Version 2.1.2 (15 March 2023)
MODIFICATIONS
-  ‘CITATION’ and references update for the new JSS publication of Castillo-Mateo, Cebrian and Asin (2023) <doi:10.18637/jss.v106.i05>. 
Changes in Version 2.1.1 (03 November 2022)
NEW FEATURES
- New dataset - TX_Zaragoza29Fthat includes Zaragoza series with the observations from the 29th of February.
- Function - series_uncornow admits any test introduced as an argument to test correlation or dependence across columns. Default is- cor.test, which is the test used in previous versions.
MODIFICATIONS
- References update for the publication of Cebrian, Castillo-Mateo and Asin (2022) <doi:10.1007/s00477-021-02122-w> and Castillo-Mateo (2022) <doi:10.1007/s10651-022-00539-2>. 
- The ‘MANUAL’ help pages were updated. 
- Confidence intervals (CIs) are renamed to reference intervals (RIs) in the ‘MANUAL’ and legends for being a more appropriate definition for these intervals (no argument is modified). 
BUG FIXES
- Functions - N.plotand- p.plotdisplayed all four types of records in the legend, even when only one type of record was plotted. Now the legend only shows the type of records that are plotted.
Changes in Version 2.1.0 (05 August 2021)
NEW FEATURES
- New function - change.pointto perform the Castillo-Mateo change-point detection tests was added.
- Previously, if the series had - NAvalues, all the record indicators from that time took- NAvalue. This made the functions return- NAp-values, etc. Now the- NAvalues are treated as non-records, i.e.,- I_t = 0, unless they are the first observation, i.e.,- I_1 = 1.
-  recordsfunction only allowed to show points, now it also shows lines.
MODIFICATIONS
- The three missing values of the - TX_Zaragozadataset now take the value- NA, in previous Versions these values were imputed. This change does not affect the- ZaragozaSeriesdataset.
- The ‘MANUAL’ help pages were updated. 
- The ‘VIGNETTES’ file was updated. 
Changes in Version 2.0.0 (13 February 2021)
NEW FEATURES
- New function - brown.methodto perform the the Brown's method in the (weighted)-number-of-records was added.
- New function - fisher.methodto perform Fisher's method was added.
- New function - R.recordto compute record values.
- New function - rcrmto generate random samples of the classical record model.
- New function - series_tiesto summarize the presence of record ties (or weak records) mainly due to rounding effects.
- New dataset - Olympic_records_200mwith record times and record values of the Olympic 200-meter race.
- New function - series_recordto apply the tools within RecordTest if only the record times are available and not the complete series.
- New argument - weakif weak records are also computed in functions that compute the record random variables:- I.record,- L.record,- N.record, etc.
MODIFICATIONS
- The ‘MANUAL’ help pages were updated. 
- The ‘VIGNETTES’ file was updated. 
- All functions have undergone a change in their arguments, providing new features in most cases. 
- The functions - foster.testand- foster.plotnow admit more statistics based on different combinations of records.
- The function - series_uncorhas change the criteria of considering the first and last columns uncorrelated, thus slightly different results can come from previous Versions. As new features it admits more types of uncorrelation and more arguments.
- The dataset - TX_Zaragozahas been updated with more data.
- The matrix - ZaragozaSerieshas more rows and one more column according to the changes in- TX_Zaragozaand- series_uncor.
- Functions have been joined or renamed as follows: - From - L_global.testrenamed to- global.test, and now a global statistic for different types of record can be computed for the tests with two-sided alternatives- p.chisq.test,- p.regression.test,- lr.testand- score.test.
- From - N_normal.test,- N_exactPB.testand- P_exactPB.testjoint to- N.test, and new features added.
- From - P_regression.testand- P_regression.plotrenamed to- p.regression.testand- p.plot, and new features added.
- From - P_chisq.testrenamed to- p.chisq.test.
- From - L_lr.testand- L_lm.testrenamed to- lr.testand- score.test.
- From - M.recordrenamed to- S.record.
 
BUG FIXES
- The p-values in Monte-Carlo and Poisson-Binomial tests were computed with the expression - P(X > X_0)instead of- P(X \ge X_0)in all previous Versions, this problem was fixed.
- Function - foster.plotshowed the evolution of the- Dstatistic improperly, this problem was fixed.
Changes in Version 1.0.1 (05 October 2020)
NEW FEATURES
- The ‘README’ and ‘VIGNETTES’ files were added. 
- New function - foster.testto perform the Foster-Stuart and Diersen-Trenkler tests was added.
- New function - foster.plotto perform plots based on the Foster-Stuart and Diersen-Trenkler statistics was added.
- New function - L_global.testto perform likelihood ratio and Lagrange multiplier tests on record occurrence was added.
- New function - L_lm.testto perform Lagrange multiplier test on record occurrence was added.
- New function - series_untieto deal with record ties was added.
- Support for parallel computing was added in Monte Carlo functions: - L_global.test,- L_lm.test,- L_lr.test.
MODIFICATIONS
- Functions removed: - dailymean.fun,- dailysd.fun,- N_joint.plot,- N_joint.test,- std.fun.
- Functions have been joined or renamed as follows: - From - I.recand- I.rec.matrixjoined to the S3 method- I.record.
- From - L.recand- L.rec.matrixjoined to- L.record.
- From - M.recand- P.recrenamed to- M.recordand- P.record, respectively.
- From - N.recand- N.rec.matrixjoined to- N.record.
- From - Nmean.recrenamed to- Nmean.record.
- From - DaySeries.fun,- double.fun,- mintime.cor.test,- value.recrenamed to- series_split,- series_double,- series_uncor,- records, respectively.
- From - L_lr.testand- L_MC.testjoined to- L_lr.test.
 
- Data - ZaragozaSeries: now the- series_doublefunction has not been applied to it.
BUG FIXES
- The p-value and statistic of - P_regression.testwas calculated incorrectly in Version 0.1.2, this problem was fixed.
Changes in Version 0.1.2 (09 February 2020)
OTHER CHANGES
- Update by CRAN policies in some ‘Imports’ packages. 
- Minor changes.