Rosenblatt transformation
rosenblatt.Rd
The Rosenblatt transformation is a method to transform uniform
pseudo-observations into the original scale of the data, preserving the
copula structure. Adapted from rvinecopulib::rosenblatt()
.
Arguments
- x
A numeric matrix or data.frame of observations. If not on \([0,1]^d\), they will be converted via
rvinecopulib::pseudo_obs()
unless already provided as pseudo-observations.- model
A
vinecop
object (from rvinecopulib) describing the dependence structure.- cores
Integer; number of threads to use. Default:
1
.- randomize_discrete
Logical; if
TRUE
, apply jittering/randomized PIT for discrete/mixture margins (Rosenblatt for non-continuous margins). Default:FALSE
.