CWavDE(wavethresh)
CWavDE()所属R语言包:wavethresh
Simple wavelet density estimator with hard thresholding
简单的小波密度估计与硬阈值
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function implements the density estimator with hard thresholding described by Hall, P. and Patil, P. (1995) Formulae for mean integrated squared error of nonlinear wavelet-based density estimators, Ann. Statist., 23, 905-928.
此功能实现了密度估计与硬阈值厅,P.和Patil,P.(1995)公式的平均综合误差平方和基于非线性小波密度估计,安。统制,23,905-928。
用法----------Usage----------
CWavDE(x, Jmax, threshold=0, nout=100, primary.resolution=1, filter.number=10,
family="DaubLeAsymm", verbose=0, SF=NULL, WV=NULL)
参数----------Arguments----------
参数:x
Vector of real numbers. This is the data for which you want a density estimate for
向量的实数。这是您要的密度估计的数据
参数:Jmax
The maximum resolution of wavelets
最大分辨率为小波
参数:threshold
The hard threshold value for the wavelet coefficients
对小波系数的硬阈值
参数:nout
The number of ordinates in the density estimate
坐标中的密度估计的数目
参数:primary.resolution
The usual wavelet density estimator primary resolution
通常的小波密度估计主要决议
参数:filter.number
The wavelet filter number, see filter.select
小波滤波器号码,请参阅filter.select
参数:family
The wavelet family, see filter.select
小波的家人,看到filter.select
参数:verbose
The level of reporting performed by the function, legit values are 0, 1 or 2, with 2 being more reports
的电平由该函数进行的报告,合法的值是0,1或2,与2是更多的报告
参数:SF
Scaling function values in format as returned by draw.default
尺度函数返回的值的格式由draw.default
参数:WV
Wavelet function values in format as returned by draw.default
小波函数值的格式返回draw.default
Details
详细信息----------Details----------
As the description.
作为描述。
值----------Value----------
A list containing the following components: <table summary="R valueblock"> <tr valign="top"><td>x</td> <td> A vector of length nout that covers the range of the input data x, plus some more depending on the support of the wavelet and the primary resolution.</td></tr> <tr valign="top"><td>y</td> <td> A vector of length nout that contains the output wavelet density estimate</td></tr> <tr valign="top"><td>sfix</td> <td> The integer values of the translates of the scaling functions used in the estimate</td></tr> <tr valign="top"><td>wvixmin</td> <td> As for sfix, but a vector of length Jmax which contains the minimum integer wavelet translates</td></tr> <tr valign="top"><td>wvixmax</td> <td> As for wvixmin, but with the maxima</td></tr> </table>
一个列表,其中包含以下组件:<table summary="R valueblock"> <tr valign="top"> <TD> x</ TD> <td>一个向量的长度nout覆盖所输入的数据的范围的x,加上一些更取决于小波和主决议的支持。</ TD> </ TR> <tr valign="top"> <TD>y </ TD> <td>一个向量的长度nout包含输出的小波密度估计</ TD> </ TR> <tr valign="top"> <TD>sfix</ TD> <TD>估计所用的缩放功能转换的整数值</ TD> </ TR> <tr valign="top"> <TD>wvixmin</ TD> <TD>至于sfix,但一个向量的长度Jmax其中包含的最小整数小波转换</ TD> </ TR> <tr valign="top"> <TD> wvixmax</ TD> < TD>为wvixmin一样,但用的最大值</ TD> </ TR> </ TABLE>
(作者)----------Author(s)----------
G P Nason
实例----------Examples----------
#[]
# Let's generate a bi-modal artificial set of data.[让生成一个双峰人工的数据集。]
#[]
x <- c( rnorm(100), rnorm(100, 10))
#[]
# Now perform simple wavelet density estimate[现在执行简单的小波密度估计]
#[]
wde <- CWavDE(x, Jmax=10, threshold=1)
#[]
# Plot results[图结果]
#[]
## Not run: plot(wde$x, wde$y, type="l")[#未运行图(WDE $ $ X,Y,WDE =“L”)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|