checkmyews: Check a LSW spectrum through repeated simulation and empirical averages
Description
Given a LSW spectrum this function simulates nsim
realizations,
estimates the spectrum, and then averages the results. The large
sample averages should converge to the original spectrum.
Usage
checkmyews(spec, nsim=10)
Value
A LSW spectrum obtained as the average of nsim
simulations
from the spec
spectrum.
Arguments
- spec
The LSW spectrum
- nsim
The number of realizations