ecf_real {empichar} | R Documentation |
Real part of empirical characteristic function of a d-dimensional random variable. This function is evaluated at m vectors of size d.
ecf_real(t, smp)
t |
mxd matrix where the function will be evaluated. |
smp |
nxd matrix with sample size if size n. |
This function must receive matrices or vectors. It is a wrapper function that allows more general inputs.
A vector of size m with the real part of the empirical characteristic function.
library(empichar)
t <- seq(-10, 10, 0.05)
X <- rnorm(150)
vals <- ecf_real(t, X)
plot(t, vals, type = "l")