Numerical correlation of random timeseries with different filtering (running mean)
PSP.CorAfterRollmean.Rd
Numerical correlation of random timeseries with different filtering (running mean)
Examples
temp <- replicate(1000,PSP.CorAfterRollmean(1000,1,0,0.5))
rowMeans(temp)
#> [1] 0.4991726 0.8205169 0.9298821
PSP.CorUntilF(c(0.5,0.5/10,0.5/50),1,0,1000,0.5)
#> [1] 0.5000000 0.8253528 0.9341159