paranorm: For discrete series, Probability Integral Transform sampling...

Description Usage Arguments Value

View source: R/utils.R

Description

For discrete series, Probability Integral Transform sampling maps observations onto a Uniform distribution that is then mapped onto a Gaussian distribution for modelling. This is essentially a copula method where we assume the 'marginal' is a discrete distribution. This function ranks log(x + 0.01) transformed values of x to generate the Uniform(0,1) marginal and then uses qnorm to map these onto an approximately Gaussian distribution

Usage

1

Arguments

x

vector of values representing the discrete count vector

Value

A vector of approximately Gaussian PIT-transformed values


nicholasjclark/mvforecast documentation built on Dec. 22, 2021, 2:11 a.m.