dof {wavethresh}R Documentation

Degrees of Freedom of Wavelet

Description

Compute degrees of freedom for wavelet thresholding model.

Usage

dof(wd)

Arguments

wd The wavelet object

Details

The wavelet thresholding is a non-linear transform and dof returns the approximate number of degrees of freedom.

Value

The number of degrees of freedom.

References

see wd for a list.

See Also

threshold

Examples

example(wd)
threshy <- threshold(wds)

# Compare degrees of freedom
dof(wds)        # 1024
dof(threshy)    # about 23

[Package wavethresh version 2.2-9 Index]