dencvwd(wavethresh)
dencvwd()所属R语言包:wavethresh
Calculate variances of wavlet coefficients of a p.d.f.
wavlet系数的计算差异的PDF
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Calculates the variances of the empirical wavelet coefficients by performing a 2D wavelet decomposition on the covariance matrix of the empirical scaling function coefficients of the probability density function.
计算的实证小波系数的方差由执行2D经验尺度函数系数的概率密度函数的协方差矩阵的小波分解。
用法----------Usage----------
dencvwd(hrproj, filter.number=hrproj$filter$filter.number, family=hrproj$filter$family, type="wavelet", bc="zero", firstk=hrproj$klim, RetFather=TRUE, verbose=FALSE)
参数----------Arguments----------
参数:hrproj
Output from denproj with covar=T argument.
输出从denprojcovar=T参数。
参数:filter.number
The filter number of the wavelet basis to be used. This argument should not be altered from the default, as it is tied to the hrproj argument
小波依据要使用的过滤器数目。从默认的这个论点不应该被改变,因为它是联系在一起的hrproj参数
参数:family
The family of wavelets to use. This argument should not be altered.
该系列小波使用。这个论点不应该被改变。
参数:type
The type of decomposition to be performed. This argument should not be altered.
分解的类型将被执行。这个论点不应该被改变。
参数:bc
The type of boundary conditions to be used. For density estimation this should always be zero.
类型的边界条件被使用。对于密度估计这应该永远是零。
参数:firstk
The bounds on the translation index of the empirical scaling function coefficients.
翻译界的经验尺度函数系数的指数。
参数:RetFather
Ignore this.
忽略这一点。
参数:verbose
If TRUE the function will be chatty. Note that comments are only availble for part of the algorithm, so might not be very enlightening.
如果是TRUE,该函数将健谈。请注意,注释仅availble的算法的一部分,所以可能不是很受启发。
Details
详细信息----------Details----------
This function is basically imwd adapted to handle zero boundary conditions, except that only the variances are returned, i.e. the diagonals of the covariance matrices produced. Note that this code is not very efficient. The full covariance matrices of all levels of coefficients are calculated, and then the diagonals are extracted.
此函数基本上是imwd适于处理零边界条件,除了只返回的方差,即产生的协方差矩阵的对角线。请注意,这段代码是不是很有效。系数各级的大协方差矩阵的计算,然后对角线提取。
值----------Value----------
An object of class wd.object, but the contents are not a standard wavelet transform, ie the object is used to hold other information which organisationally is arranged like a wavelet tranform, ie variances of coefficients.
wd.object,但内容不是一个标准的小波变换类的一个对象,即,对象是用来存放其他信息组织被布置的就像一个小波变换分析,即方差系数。
(作者)----------Author(s)----------
David Herrick
参见----------See Also----------
denproj,imwd
denproj,imwd
实例----------Examples----------
# Simulate data from the claw density, find the [从爪密度模拟数据,找到]
# empirical scaling function coefficients and covariances and then decompose[经验尺度函数系数和协方差,然后分解]
# both to give wavelet coefficients and their variances.[给小波变换和他们的差异。]
data <- rclaw(100)
datahr <- denproj(data, J=8, filter.number=2,family="DaubExPhase", covar=TRUE)
data.wd <- denwd(datahr)
## Not run: plotdenwd(data.wd, top.level=(datahr$res$J-1))[#不运行:plotdenwd(data.wd,top.level =(datahr $水库$ J-1))]
datavar <- dencvwd(datahr)
## Not run: plotdenwd(datavar, top.level=(datahr$res$J-1)) [#不运行:plotdenwd(datahr datavar,top.level =($水库$ J-1))]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|