Compute Sample Average of Fourier Transform Magnitude
get_avg_phi(Y = 1, X, xi)Returns the sample estimation of expected Fourier transform at frequency xi.
A numerical vector representing the sample data of variable Y.
A numerical vector representing the sample data of variable X.
A single numerical value representing the frequency at which the Fourier transform is computed.