找回密码
 注册
查看: 348|回复: 0

R语言 SpatialVx包 FQI()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:55:31 | 显示全部楼层 |阅读模式
FQI(SpatialVx)
FQI()所属R语言包:SpatialVx

                                         Functions for calculating the Forecast Quality Index
                                         预报质量指数的计算功能

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Functions for calculating the Forecast Quality Index (FQI) and its components.
函数计算预测质量指标(FQI)及其部件的。


用法----------Usage----------


FQI(object, surr = NULL, ...)
UIQI(Fcst, Vx, ...)
ampstats(Fcst, Vx, only.nonzero = FALSE)
## S3 method for class 'fqi'
summary(object, ...)



参数----------Arguments----------

参数:object
list object as returned by locmeasures2dPrep.  In the case of summary.fqi, object is the list object returned by FQI.  
列表对象返回的locmeasures2dPrep。在的情况下,summary.fqi,object是的列表对象返回FQI。


参数:Fcst,Vx
numeric matrices giving the fields for the verification set.
数字矩阵提供的字段验证集。


参数:surr
three-dimesnional array containing surrogate fields for Vx, e.g. as returned by surrogater2d.  If NULL, these will be calculated using surrogater2d.  
的三dimesnional数组,包含替代字段Vx,例如如返回surrogater2d。如果为NULL,将计算这些使用surrogater2d。


参数:only.nonzero
logical, should the means and variances of only the non-zero values of the fields be calculated (if so, the covariance is returned as NA)?
逻辑,应该只有非零的字段值的均值和方差的计算(如果是这样,则返回协方差为NA)?


参数:...
In the case of FQI, additional arguments to surrogater2d.  Only used if surr is NULL.  In the case of UIQI, additional arguments to ampstats.  In the case of summary.fqi, these are not used.  
的情况下FQI,其他参数surrogater2d。仅用于如果surr是NULL。的情况下UIQI,其他参数ampstats。以summary.fqi的情况下,这些不被使用。


Details

详细信息----------Details----------

The FQI was proposed as a spatial verification metric (a true metric in the mathematical sense) by Venugopal et al. (2005) to combine amplitude and displacement error information in a single summary statistic.  It is given by
FQI被作为空间验证度量(在数学意义上的一个真正的度量)Venugopal等人提出的。 (2005)结合在一个单一的汇总统计的幅度和位移的错误信息。它由下式给出

FQI = (PHD_k(Vx, Fcst)/mean( PHD_k(Vx, surr_i); i in 1 to number of surrogates)) / (brightness * distortion)
FQI =(PHD_k“(VX FCST)/(PHD_k(VX,surr_i);我在1至数代理人),)/(亮度失真)

where the numerator is a normalized partial Hausdorff distance (see help file for locperf), brightness (also called bias) is given by 2*(mu1*mu2)/(mu1^2+mu2^2), where mu1 (mu2) is the mean value of Vx (Fcst), and the distortion term is given by 2*(sig1*sig2)/(sig1^2+sig2^2), where sig1^2 (sig2^2) is the variance of Vx (Fcst) values.  The denominator is a modified UIQI (Universal Image Quality Index; Wang and Bovik, 2002), which itself is given by
其中分子是归一化的部分Hausdorff距离(参见帮助文件locperf),亮度(也称为偏置)2 *(MU1 MU2)/(MU1 ^ 2 + MU2 ^ 2),其中MU1(MU2),是Vx的(FCST)的平均值,和失真项由下式给出2 *(SIG1 * SIG2)/(SIG1 ^ 2 + SIG2 ^ 2),其中SIG1 ^ 2(SIG2 ^ 2)的方差的Vx(FCST )的值。分母是修改后的UIQI(通用图像质量指数;王和Bovik的,2002年),它本身是由

UIQI = cor(Vx,Fcst)*brightness*distortion.
UIQI = COR(VX,FCST)*亮度*失真。

Note that if only.nonzero is TRUE in the call to UIQI, then the modified UIQI used in the FQI formulation is returned (i.e., without multiplying by the correlation term).
请注意,如果是TRUE在UIQI调用only.nonzero,然后用修改后的UIQI的FQI制定中返回(例如,不乘以相关术语)。


值----------Value----------

FQI returns a list with components:
FQI返回一个列表的组件:


参数:prep.object
character naming the locmeasures2dPrep object used in the call.



参数:phd.norm
matrix of normalized partial Hausdorff distances for each value of k (rows) and each threshold (columns).
矩阵的每个值的k(行)和每一个阈值(列)的归一化部分Hausdorff距离。


参数:uiqi.norm
numeric vector of modified UIQI values for each threshold.
数字矢量的每个阈值的的改性UIQI值。


参数:fqi
matrix of FQI values for each value of k (rows) and each threshold (columns).
FQI值的每个值的k(行)和每一个阈值(列)的矩阵。

UIQI returns a list with components:
UIQI返回一个列表的组件:


参数:Fcst.name,Vx.name
characters giving the names of the two fields.
给的两个字段的名称的字符。


参数:cor
single numeric giving the correlation between the two fields.
单个数值之间的相关性的两个字段。


参数:brightness.bias
single numeric giving the brightness (bias) value.
单数字的亮度值(偏置)。


参数:distortion.variability
single numeric giving the distortion (variability) value.
单数字的失真值(变异)。


参数:UIQI
single numeric giving the UIQI (or modified UIQI if only.nonzero is set to TRUE) value.
单数字给UIQI的值(或修改UIQI,如果only.nonzero被设置为TRUE)。

ampstats returns a list object with components:
ampstats返回一个列表对象的组件:


参数:mean.fcst,mean.vx
single numerics giving the mean of Fcst and Vx, resp.
FCST和Vx的平均值分别给予单一数值计算。


参数:var.fcst,var.vx
single numerics giving the variance of Fcst and Vx, resp.
FCST和Vx的方差分别单一数值计算。


参数:cov
single numeric giving the covariance between Fcst and Vx (if only.nonzero is TRUE, this will be NA).
单个数字FCST和Vx之间的协方差(如果only.nonzero是TRUE,这将是NA)。


(作者)----------Author(s)----------



Eric Gilleland




参考文献----------References----------




参见----------See Also----------

locperf, link{surrogater2d}, locmeasures2d, locmeasures2dPrep
locperf,link{surrogater2d},locmeasures2d,locmeasures2dPrep


实例----------Examples----------


# Simulate a precip-like field.[模拟雨般的领域。]
grid<- list( x= seq( 0,5,,100), y= seq(0,5,,100))
obj<-Exp.image.cov( grid=grid, theta=.5, setup=TRUE)
look<- sim.rf( obj)
look[ look < 0] <- 0
look <- zapsmall( look)

look2 <- sim.rf( obj)
look2[ look2 < 0] <- 0
look2 <- zapsmall( look2)

# Now, find surrogates of the simulated field.[现在,找到代理人的模拟现场。]
look3 <- surrogater2d( look, zero.down=TRUE, n=10)

u <- cbind( quantile( c(look2), c(0.75, 0.9)), quantile( c(look), c(0.75, 0.9)))
hold <- locmeasures2dPrep("look2", "look", thresholds=u, k=c(4, 0.75))
FQI( hold, surr=look3)


转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-10 11:08 , Processed in 0.021365 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表