Learn R Programming

wavethresh (version 4.7.3)

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

Author

G P Nason

See Also

cns,LSWsim, ewspec