Forecasting, Time Series Analysis, Fourier Transform, R, Ml So Good.
filtering signal from noise. What we can do to counteract is smooth the spectral analysis using kernel estimates. Here I will use a pre-defined kernel. k = kernel("daniell", c(24, 24, 24)) TC_df<-TC_df%>% filter(RecordType=="VOIP call")%>% ungroup() smooth.spec <- spec.pgram(TC_df$n, kernel = k,