preparedata | R Documentation |
This function computes the unique values, cdf and pdf for a series of data.
preparedata(x)
x |
Vector |
values |
Unique (sorted) values |
m |
Number of unique values |
Fn |
Empirical cdf of the unique values |
fn |
Empirical pdf of the unique values |
B.R. Nasri (2022). Tests of serial dependence for arbitrary distributions
C. Genest, J.G. Neslehova, B.N. Remillard and O. Murphy (2019). Testing for independence in arbitrary distributions.
#'@examples x = c(0,0,0,2,3,1,3,1,2,0) out = prepare_data(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.