Learn R Programming

wavethresh (version 4.6.1)

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)

Arguments

spec
The LSW spectrum
nsim
The number of realizations

Value

  • A LSW spectrum obtained as the average of nsim simulations from the spec spectrum.

See Also

cns,LSWsim, ewspec