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

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

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

                                        Monte Carlo Estimation of Sobol' Indices (scheme by Saltelli 2002)
                                         蒙特卡罗估计Sobol指数(2002年由Saltelli计划)

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

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

sobol2002 implements the Monte Carlo estimation of the Sobol' indices for both first-order and total indices at the same time (alltogether 2p indices), at a total cost of (p + 2) * n model evaluations.
sobol2002实现蒙特卡洛估计Sobol指数为一阶指数和总指数在同一时间(产品总数2p指数),(p + 2) * n模型评估的总成本。


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


sobol2002(model = NULL, X1, X2, nboot = 0, conf = 0.95, ...)
## S3 method for class 'sobol2002'
tell(x, y = NULL, return.var = NULL, ...)
## S3 method for class 'sobol2002'
print(x, ...)
## S3 method for class 'sobol2002'
plot(x, ylim = c(0, 1), ...)



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

参数:model
a function, or a model with a predict method, defining the model to analyze.
函数或一个的模型与predict方法,定义模型来分析。


参数:X1
the first random sample.
第一次随机抽样。


参数:X2
the second random sample.
第二个随机样本。


参数:nboot
the number of bootstrap replicates.
复制的数目引导。


参数:conf
the confidence level for bootstrap confidence intervals.
自举置信区间的置信水平。


参数:x
a list of class "sobol" storing the state of the sensitivity study (parameters, data, estimates).
类的列表"sobol"存储状态的敏感性研究(参数,数据,估计)。


参数:y
a vector of model responses.
一个向量模型的响应。


参数:return.var
a vector of character strings giving further internal variables names to store in  the output object x.
一个向量的进一步的内部变量名的字符串,存储在输出对象x。


参数:ylim
y-coordinate plotting limits.
y坐标绘制的限制。


参数:...
any other arguments for model which are passed unchanged each time it is called
任何其他参数model传递不变,每次它被称为


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

sobol2002 returns a list of class "sobol2002", containing all the input arguments detailed before, plus the following components:
sobol2002返回一个列表类"sobol2002",包含所有的输入参数前面的描述,再加上以下组件:


参数:call
the matched call.
匹配的呼叫。


参数:X
a data.frame containing the design of experiments.
data.frame包含实验的设计。


参数:y
the response used
使用响应


参数:V
the estimations of Variances of the Conditional Expectations (VCE) with respect to each factor and also with respect to the complementary set of each factor ("all but Xi").
对于每个因素,并与各因素的补集(“所有,但Xi”)(VCE)的条件期望与方差的估计。


参数:S
the estimations of the Sobol' first-order indices.
Sobol的一阶指数的估计。


参数:T
the estimations of the Sobol' total sensitivity indices.
Sobol的总敏感性指标的估计。

Users can ask more ouput variables with the argument return.var (for example, bootstrap outputs V.boot, S.boot and T.boot).
用户可以提出更多的输出中的变量的参数return.var(例如,引导输出V.boot,S.boot和T.boot)。


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

sensitivity indices, Computer Physics Communication, 145, 580–297.

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


# Test case : the non-monotonic Sobol g-function[测试情况:非单调Sobol g-函数]

# The method of sobol requires 2 samples[的方法的sobol需要2个样本]
# There are 8 factors, all following the uniform distribution[有8个因素,都均匀分布]
# on [0,1][在[0,1]]

n <- 1000
X1 <- data.frame(matrix(runif(8 * n), nrow = n))
X2 <- data.frame(matrix(runif(8 * n), nrow = n))

# sensitivity analysis[敏感性分析]

x <- sobol2002(model = sobol.fun, X1, X2, nboot = 100)
print(x)
plot(x)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-19 04:49 , Processed in 0.020535 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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