Package: hermiter 2.3.1

Michael Stephanou

hermiter: Efficient Sequential and Batch Estimation of Univariate and Bivariate Probability Density Functions and Cumulative Distribution Functions along with Quantiles (Univariate) and Nonparametric Correlation (Bivariate)

Facilitates estimation of full univariate and bivariate probability density functions and cumulative distribution functions along with full quantile functions (univariate) and nonparametric correlation (bivariate) using Hermite series based estimators. These estimators are particularly useful in the sequential setting (both stationary and non-stationary) and one-pass batch estimation setting for large data sets. Based on: Stephanou, Michael, Varughese, Melvin and Macdonald, Iain. "Sequential quantiles via Hermite series density estimation." Electronic Journal of Statistics 11.1 (2017): 570-607 <doi:10.1214/17-EJS1245>, Stephanou, Michael and Varughese, Melvin. "On the properties of Hermite series based distribution function estimators." Metrika (2020) <doi:10.1007/s00184-020-00785-z> and Stephanou, Michael and Varughese, Melvin. "Sequential estimation of Spearman rank correlation using Hermite series estimators." Journal of Multivariate Analysis (2021) <doi:10.1016/j.jmva.2021.104783>.

Authors:Michael Stephanou [aut, cre], Melvin Varughese [ctb]

hermiter_2.3.1.tar.gz
hermiter_2.3.1.zip(r-4.5)hermiter_2.3.1.zip(r-4.4)hermiter_2.3.1.zip(r-4.3)
hermiter_2.3.1.tgz(r-4.4-x86_64)hermiter_2.3.1.tgz(r-4.4-arm64)hermiter_2.3.1.tgz(r-4.3-x86_64)hermiter_2.3.1.tgz(r-4.3-arm64)
hermiter_2.3.1.tar.gz(r-4.5-noble)hermiter_2.3.1.tar.gz(r-4.4-noble)
hermiter_2.3.1.tgz(r-4.4-emscripten)hermiter_2.3.1.tgz(r-4.3-emscripten)
hermiter.pdf |hermiter.html
hermiter/json (API)
NEWS

# Install 'hermiter' in R:
install.packages('hermiter', repos = c('https://mikejareds.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mikejareds/hermiter/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

cumulative-distribution-functionkendall-correlation-coefficientonline-algorithmsprobability-density-functionquantilespearman-correlation-coefficientstatisticsstreaming-algorithmsstreaming-data

5.58 score 15 stars 17 scripts 360 downloads 19 exports 3 dependencies

Last updated 3 months agofrom:c7ffbee07c. Checks:OK: 3 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-win-x86_64OKNov 19 2024
R-4.5-linux-x86_64OKNov 19 2024
R-4.4-win-x86_64NOTENov 19 2024
R-4.4-mac-x86_64NOTENov 19 2024
R-4.4-mac-aarch64NOTENov 19 2024
R-4.3-win-x86_64NOTENov 19 2024
R-4.3-mac-x86_64NOTENov 19 2024
R-4.3-mac-aarch64NOTENov 19 2024

Exports:corcum_probdenshcdfhermite_estimatorhermite_function_Nhermite_function_sum_Nhermite_int_fullhermite_int_lowerhermite_int_upperhermite_normalization_Nhermite_polynomial_NIQRkendallmerge_hermitemerge_pairquantspearmansupdate_sequential

Dependencies:BHRcppRcppParallel

hermiter

Rendered fromhermiter.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2023-05-07
Started: 2020-08-12

Readme and manuals

Help Manual

Help pageTopics
Efficient Sequential and Batch Estimation of Univariate and Bivariate Probability Density Functions and Cumulative Distribution Functions along with Quantiles (Univariate) and Nonparametric Correlation (Bivariate)hermiter-package hermiter
A wrapper around the stats::cor function adding two additional methods, namely method = "hermite.spearman" and method = "hermite.kendall" (can be abbreviated). The input parameters and output value semantics closely match the stats::cor method for easy interchange. If neither the "hermite.spearman" nor the "hermite.kendall" method is selected, then this function will call stats::cor with the arguments provided.cor
Estimates the cumulative probability at one or more x valuescum_prob
Estimates the cumulative probabilities for a matrix of 2-d x valuescum_prob.hermite_estimator_bivar
Estimates the cumulative probability for a vector of x valuescum_prob.hermite_estimator_univar
Estimates the probability density at one or more x valuesdens
Estimates the probability densities for a matrix of 2-d x valuesdens.hermite_estimator_bivar
Estimates the probability density for a vector of x valuesdens.hermite_estimator_univar
Creates an object summarizing the bivariate PDF with associated generic methods print and plot.density.hermite_estimator_bivar
Creates an object summarizing the PDF with associated generic methods print and plot.density.hermite_estimator_univar
Calculates \int_{-Inf}^{Inf} f(x) e^{-x^2} dx using Gauss-Hermite quadrature with 100 terms.gauss_hermite_quad_100
Creates an object summarizing the CDF with associated generic methods print, plot and summary.hcdf
Creates an object summarizing the bivariate CDF with associated generic methods print, plot and summary.hcdf.hermite_estimator_bivar
Creates an object summarizing the CDF with associated generic methods print, plot and summary.hcdf.hermite_estimator_univar
A class to sequentially estimate univariate and bivariate pdfs and cdfs along with quantile functions in the univariate setting and nonparametric correlations in the bivariate setting.hermite_estimator
A class to sequentially estimate bivariate pdfs, cdfs and nonparametric correlationshermite_estimator_bivar
A class to sequentially estimate univariate pdfs, cdfs and quantile functionshermite_estimator_univar
Outputs orthonormal Hermite functionshermite_function
Convenience function to output orthonormal Hermite functions The method calculates the orthonormal Hermite functions, h_k(x) from k=0,...,N for the vector of values, x.hermite_function_N
Convenience function to output the sum of orthonormal Hermite functions The method calculates the sum of orthonormal Hermite functions, sum_{i} h_k(x_{i}) from k=0,...,N for the vector of values, x.hermite_function_sum_N
Outputs the sum of orthonormal Hermite functionshermite_function_sum_serial
Convenience function to output the integral of the orthonormal Hermite functions on the full domainhermite_int_full
Outputs integral of the orthonormal Hermite functions on the full domainhermite_int_full_domain
Convenience function to output a definite integral of the orthonormal Hermite functionshermite_int_lower
Convenience function to output a definite integral of the orthonormal Hermite functionshermite_int_upper
Outputs lower integral of the orthonormal Hermite functionshermite_integral_val
Outputs upper integral of the orthonormal Hermite functionshermite_integral_val_upper
Outputs Hermite normalization factorshermite_normalization
Convenience function to output Hermite normalization factorshermite_normalization_N
Outputs physicist version of Hermite Polynomialshermite_polynomial
Convenience function to output physicist Hermite polynomials The method calculates the physicist version of Hermite polynomials, H_k(x) from k=0,...,N for the vector of values, x.hermite_polynomial_N
Initializes the Hermite series based estimator with a batch of datainitialize_batch_bivar
Initializes the Hermite series based estimator with a batch of datainitialize_batch_univar
Estimates the Interquartile range (IQR)IQR
Estimates the Interquartile range (IQR)IQR.default
Estimates the Interquartile range (IQR)IQR.hermite_estimator_univar
Estimates the Kendall rank correlation coefficientkendall
Estimates the Kendall rank correlation coefficientkendall.hermite_estimator_bivar
Estimates the medianmedian.hermite_estimator_univar
Merges a list of Hermite estimatorsmerge_hermite
Merges a list of bivariate Hermite estimatorsmerge_hermite_bivar
Merges a list of Hermite estimatorsmerge_hermite_univar
Internal method to consistently merge the number of observations, means and variances of two bivariate Hermite estimatorsmerge_moments_and_count_bivar
Internal method to consistently merge the number of observations, means and variances of two Hermite estimatorsmerge_moments_and_count_univar
Merges two Hermite estimatorsmerge_pair
Merges two bivariate Hermite estimatorsmerge_pair.hermite_estimator_bivar
Merges two Hermite estimatorsmerge_pair.hermite_estimator_univar
Internal method to merge a list of standardized bivariate Hermite estimatorsmerge_standardized_helper_bivar
Internal method to merge a list of standardized Hermite estimatorsmerge_standardized_helper_univar
Plots the hcdf_bivar object as output by the hcdf function when evaluated on a hermite_estimator_bivar object.plot.hcdf_bivar
Plots the hcdf_univar object as output by the hcdf function when evaluated on a hermite_estimator_univar object.plot.hcdf_univar
Plots the hdensity_bivar object as output by the density function when evaluated on a hermite_estimator_bivar object.plot.hdensity_bivar
Plots the hdensity_univar object as output by the density function when evaluated on a hermite_estimator_univar object.plot.hdensity_univar
Prints the hcdf_bivar object as output by the hcdf function when evaluated on a hermite_estimator_bivar object.print.hcdf_bivar
Prints the hcdf_univar object as output by the hcdf function when evaluated on a hermite_estimator_univar object.print.hcdf_univar
Prints the hdensity_bivar object as output by the density function when evaluated on a hermite_estimator_bivar object.print.hdensity_bivar
Prints the hdensity_univar object as output by the density function when evaluated on a hermite_estimator_univar object.print.hdensity_univar
Prints bivariate hermite_estimator object.print.hermite_estimator_bivar
Prints univariate hermite_estimator object.print.hermite_estimator_univar
Estimates the quantiles at a vector of probability valuesquant
Estimates the quantiles at a vector of probability valuesquant.hermite_estimator_univar
Estimates the quantiles at a vector of probability valuesquantile.hermite_estimator_univar
Estimates the Spearman's rank correlation coefficientspearmans
Estimates the Spearman's rank correlation coefficientspearmans.hermite_estimator_bivar
Standardizes the observation x and updates the online moment inputsstandardizeInputs
Standardizes the observation x and updates the online moment inputsstandardizeInputsEW
Summarizes the hcdf_bivar object as output by the hcdf function when evaluated on a hermite_estimator_bivar object.summary.hcdf_bivar
Summarizes the hcdf_univar object as output by the hcdf function when evaluated on a hermite_estimator_univar object.summary.hcdf_univar
Summarizes bivariate hermite_estimator object.summary.hermite_estimator_bivar
Summarizes univariate hermite_estimator object.summary.hermite_estimator_univar
Updates the Hermite series based estimator sequentiallyupdate_sequential
Updates the Hermite series based estimator sequentiallyupdate_sequential.hermite_estimator_bivar
Updates the Hermite series based estimator sequentiallyupdate_sequential.hermite_estimator_univar