Learn R Programming

R package pvar

This package deals with the $p$-variation of the sample. Nonetheless, it could be used for to calculate $p$-variation for arbitrary piecewise monotonic function as well. See:

https://link.springer.com/article/10.1007/s10986-018-9414-3#citeas

If you intend to have use from this package, you need to be familiar with the topic. The formal definitions and reference into literature are given in vignette.

There are two main functions in this package, namely

  • pvar - it is a function that calculates the $p$-variation of the sample.
  • PvarBreakTest - it is functions that performs a test of multiple changes in a sequence of independent observations. This

is one of the example of $p$-variation use in statistics.

In any question or remarks please don't hesitate to contact me by Vygantas.Butkus@gmail.com

Best regards,

Vygantas Butkus

Copy Link

Version

Install

install.packages('pvar')

Monthly Downloads

234

Version

2.2.7

License

GPL-2

Maintainer

Vygantas Butkus

Last Published

October 18th, 2022

Functions in pvar (2.2.7)

pvar-package

p-variation calculation and application
BridgeT

Bridge transformation
IsEqualPvar

Test if two `pvar` objects are equivalent.
DataSets

Data sets of Monte-Carlo simulations results
%.%

Concatenate strings
rwiener

Random process generators
PvarQuantile

Quantiles and probabilities of p-variation
ChangePoints

Change Points of a numeric vector
AddPvar

Addition of p-variation
PvarBreakTest

Structural break test
AddPvarC

Addition of p-variation (in C++)
pvar

p-variation calculation
Sum_p

p-variation summation function
pvarC

p-variation calculation (in C++)