Learn R Programming

wavethresh (version 2.2-6)

dof: Degrees of Freedom of Wavelet

Description

Compute degrees of freedom for wavelet thresholding model.

Usage

dof(wd)

Arguments

wd
The wavelet object

Value

  • The number of degrees of freedom.

Details

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

References

see wd for a list.

See Also

threshold

Examples

Run this code
example(wd)
threshy <- threshold(wds)

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

Run the code above in your browser using DataLab