Learn R Programming

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

NNS

Nonlinear nonparametric statistics using partial moments. Partial moments are the elements of variance and asymptotically approximate the area of f(x). These robust statistics provide the basis for nonlinear analysis while retaining linear equivalences.

NNS offers:

  • Numerical Integration & Numerical Differentiation
  • Partitional & Hierarchial Clustering
  • Nonlinear Correlation & Dependence
  • Causal Analysis
  • Nonlinear Regression & Classification
  • ANOVA
  • Seasonality & Autoregressive Modeling
  • Normalization
  • Stochastic Dominance
  • Advanced Monte Carlo Sampling

Companion R-package and datasets to:

Viole, F. and Nawrocki, D. (2013) "Nonlinear Nonparametric Statistics: Using Partial Moments"

Current Version

is built on and architecture and is built on with notable performance enhancements.

*Current CRAN version is

Installation

requires . See https://cran.r-project.org/ or for upgrading to latest R release.

require(devtools); install_github('OVVO-Financial/NNS', ref = "NNS-Beta-Version")

or via CRAN

install.packages('NNS')

Examples

Please see https://github.com/OVVO-Financial/NNS/blob/NNS-Beta-Version/examples/index.md for basic partial moments equivalences and hands-on statistics, machine learning and econometrics examples.

Citation

@Manual{,
    title = {NNS: Nonlinear Nonparametric Statistics},
    author = {Fred Viole},
    year = {2016},
    note = {R package version 0.9.9},
    url = {https://CRAN.R-project.org/package=NNS},
  }

Thank you for your interest in NNS!

Copy Link

Version

Install

install.packages('NNS')

Monthly Downloads

1,405

Version

0.9.9

License

GPL-3

Maintainer

Fred Viole

Last Published

May 19th, 2023

Functions in NNS (0.9.9)

NNS.SSD.uni

NNS SSD Test uni-directional
D.UPM

Divergent-Upper Partial Moment (Upper Left Quadrant 2)
NNS.CDF

NNS CDF
NNS.FSD

NNS FSD Test
LPM.VaR

LPM VaR
NNS.ARMA

NNS ARMA
NNS.distance

NNS Distance
NNS.gravity

NNS gravity
NNS.meboot

NNS meboot
NNS.VAR

NNS VAR
NNS.norm

NNS Normalization
NNS.caus

NNS Causation
PM.matrix

Partial Moment Matrix
NNS.copula

NNS Co-Partial Moments Higher Dimension Dependence
NNS.mode

NNS mode
NNS.boost

NNS Boost
NNS.moments

NNS moments
NNS.stack

NNS Stack
NNS_bin

Fast binning of numeric vector into equidistant bins
dy.dx

Partial Derivative dy/dx
NNS.term.matrix

NNS Term Matrix
NNS.dep

NNS Dependence
NNS.seas

NNS Seasonality Test
NNS.diff

NNS Numerical Differentiation
NNS.reg

NNS Regression
NNS.TSD.uni

NNS TSD Test uni-directional
NNS.nowcast

NNS Nowcast
dy.d_

Partial Derivative dy/d_[wrt]
UPM.ratio

Upper Partial Moment RATIO
UPM.VaR

UPM VaR
NNS.part

NNS Partition Map
UPM

Upper Partial Moment
NNS.ANOVA

NNS ANOVA
Co.LPM

Co-Lower Partial Moment (Lower Left Quadrant 4)
NNS.ARMA.optim

NNS ARMA Optimizer
LPM

Lower Partial Moment
Co.UPM

Co-Upper Partial Moment (Upper Right Quadrant 1)
NNS.PDF

NNS PDF
NNS.TSD

NNS TSD Test
NNS.FSD.uni

NNS FSD Test uni-directional
LPM.ratio

Lower Partial Moment RATIO
D.LPM

Divergent-Lower Partial Moment (Lower Right Quadrant 3)
NNS.SSD

NNS SSD Test
NNS.SD.efficient.set

NNS SD Efficient Set
NNS.MC

NNS Monte Carlo Sampling