rps(verification)
rps()所属R语言包:verification
Ranked Probability Score
排名概率分数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Calculates the ranked probability score (rps) and ranked probability skill score (rpss) for probabilistic
计算概率的排名得分(RPS)和排名概率技巧评分(RPSS)的概率
用法----------Usage----------
rps(obs, pred, baseline=NULL)
参数----------Arguments----------
参数:obs
A vector of observed outcomes. These values correspond to columns of prediction probabilities.
的矢量观测到的结果。这些值对应列的预测概率。
参数:pred
A matrix of probabilities for each outcome occurring. Each column represents a category of prediction.
每个结果发生的概率矩阵。每一列代表一类的预测。
参数:baseline
If NULL (default) the probability based on the sample data of each event to occur. Alternatively, a vector the same length of the as the number categories can be entered.
如果为NULL(默认值)的基础上发生的每个事件的样本数据的概率。可替换地,一个向量的相同长度的数量类别可以输入。
值----------Value----------
参数:rps
Ranked probability scores
排名概率分数
参数:rpss
Ranked probability skill score. Uses baseline or sample climatology as a references score.
排名的概率技巧得分。使用引用得分作为基准或样品气候。
参数:rps.clim
Ranked probability score for baseline forecast.
排名概率得分的基线预测。
注意----------Note----------
Perhaps the format of the data is best understood in the context of an example. Consider a probability of precipitation forecast of "none", "light" or "heavy". This could be [0.5, 0.3, 0.2]. If heavy rain occurred, the observed value would be 3, indicating event summarized in the third column occurred.
也许的数据格式的一个例子的上下文中是最好的理解。考虑降水预报“无”,“轻”或“重”的概率。这可能是[0.5,0.3,0.2]。如果发生大雨,所观察到的值是3,说明总结在第三列中发生的事件。
The RPS value is scaled to a [0,1 ] interval by dividing by (number of categories -1 . There is a discrepancy in the way this is
RPS值除以缩放到区间[0,1](数的类别-1。有差异的方式中,这是
(作者)----------Author(s)----------
Matt Pocernich <pocernic@rap.ucar.edu>
参考文献----------References----------
http://www.cawcr.gov.au/projects/verification/verif_web_page.html#RPS
Chapter 7, San Diego: Academic Press.
参见----------See Also----------
crps
crps
实例----------Examples----------
### Example from Wilks, note without a baseline and only one[##威尔克斯没有一个基线,请注意,只有一个实例]
### forecast, the rpss and ss are not too meaningfull.[##预测,RPSS的ss是不是太meaningfull。]
rps( obs = c(1), pred = matrix(c(0.2, 0.5, 0.3), nrow = 1))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|