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

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

[复制链接]
发表于 2012-9-30 02:53:53 | 显示全部楼层 |阅读模式
ElicitPsi(SimpleTable)
ElicitPsi()所属R语言包:SimpleTable

                                        Prior Elicitation for Analysis of 2 x 2 in Presence of Unmeasured Confounding  
                                         在此之前的2×2启发式分析测量的干扰因素存在

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

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

ElicitPsi provides a Tcl/Tk graphical user interface that allows users to vary the parameters of the beta prior distributions over the psi parameters (the potential outcome distributions within cells of the (X,Y) table) used by
ElicitPsi提供的Tcl / Tk的图形用户界面,允许用户在不同的β先验分布的参数psi参数(可能的结果分布单元内的(X,Y)表)通过


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


ElicitPsi(C00, C01, C10, C11, maxvalue = 100,
          a00 = 0.25, a01 = 0.25, a10 = 0.25, a11 = 0.25,
          nsamp = 50000, output.object = "output.SimpleTable")



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

参数:C00
The number of observations in (X=0,   Y=0) cell of the table. In other words, the number of observations that received control and failed.   
(X=0,   Y=0)表的单元格的若干意见。换言之,观察接收到的控制和失败的数目。


参数:C01
The number of observations in (X=0,   Y=1) cell of the table. In other words, the number of observations that received control and succeeded.   
(X=0,   Y=1)表的单元格的若干意见。换句话说,观察,控制和成功。


参数:C10
The number of observations in (X=1,   Y=0) cell of the table. In other words, the number of observations that received treatment and failed.   
(X=1,   Y=0)表的单元格的若干意见。换言之,观察,接受治疗和失败的数目。


参数:C11
The number of observations in (X=1,   Y=1) cell of the table. In other words, the number of observations that received treatment and succeeded.   
(X=1,   Y=1)表的单元格的若干意见。换句话说,观测值的数量,接受治疗和成功了。


参数:maxvalue
The largest possible value for the parameters of the beta priors that are being elicited. This value is used to set the slider bars appropriately.   
最大的可能值所引起的β先验的参数。此值被用于设置适当的滑动条。


参数:a00
One of four parameters (with a01, a10, and a11 governing the Dirichlet prior for theta (the joint probabilities of X and Y). This prior has the effect of adding a00 - 1 observations to the (X=0, Y=0) cell of the table.   
其中的四个参数(用a01,a10和a11执政前的Dirichlet theta(X和Y的联合概率 ),这之前有添加a00 -  1观测到(X=0, Y=0)表的单元格的效果。


参数:a01
One of four parameters (with a00, a10, and a11 governing the Dirichlet prior for theta (the joint probabilities of X and Y). This prior has the effect of adding a01 - 1 observations to the (X=0, Y=1) cell of the table.   
其中的四个参数(用a00,a10和a11执政前的Dirichlet theta(X和Y的联合概率 ),这之前有添加a01 -  1观测到(X=0, Y=1)表的单元格的效果。


参数:a10
One of four parameters (with a00, a01, and a11 governing the Dirichlet prior for theta (the joint probabilities of X and Y). This prior has the effect of adding a10 - 1 observations to the (X=1, Y=0) cell of the table.   
其中的四个参数(用a00,a01和a11执政前的Dirichlet theta(X和Y的联合概率 ),这之前有添加a10 -  1观测到(X=1, Y=0)表的单元格的效果。


参数:a11
One of four parameters (with a00, a01, and a10 governing the Dirichlet prior for theta (the joint probabilities of X and Y). This prior has the effect of adding a11 - 1 observations to the (X=1, Y=1) cell of the table.   
其中的四个参数(用a00,a01和a10执政前的Dirichlet theta(X和Y的联合概率 ),这之前有添加a11 -  1观测到(X=1, Y=1)表的单元格的效果。


参数:nsamp
Size of the Monte Carlo sample used to summarize the posterior.
蒙特卡罗样本的大小,使用后总结。


参数:output.object
String giving the name of the output object the result are sent to. Default is output.SimpleTable.  
发送给结果的输出对象的名称的字符串。默认是output.SimpleTable。


Details

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

See analyze2x2 and Quinn (2008) for details regarding the model and prior specification used.
模型和先前的规范使用的详细信息,请参阅analyze2x2和Quinn(2008)。


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

While ElicitPsi does not formally have a return value, it does put a number of objects in the global environment. These objects are:
而ElicitPsi没有正式有一个返回值,但它在全球环境中的多个对象。这些对象是:


参数:b00
One of two parameters (with c00) governing the beta prior for the distribution of potential outcome types within the (X=0, Y=0) cell of the table. This prior adds the same information as would be gained from observing b00 - 1 Helped units in the (X=0, Y=0) cell of the table.
其中的两个参数(用c00)执政前的测试可能的结果类型的分布在(X=0, Y=0)表的单元格。前增加了观察b00 - (X=0, Y=0)表的单元格的帮助单位将获得相同的信息。


参数:b01
One of two parameters (with c01) governing the beta prior for the distribution of potential outcome types within the (X=0, Y=1) cell of the table. This prior adds the same information as would be gained from observing b01 - 1 Always Succeed units in the (X=0, Y=1) cell of the table.
其中的两个参数(用c01)执政前的测试可能的结果类型的分布在(X=0, Y=1)表的单元格。这之前增加将获得相同的信息,从观察b01 -  1(X=0, Y=1)表的单元格中总是成功的单位。


参数:b10
One of two parameters (with c10) governing the beta prior for the distribution of potential outcome types within the (X=1, Y=0) cell of the table. This prior adds the same information as would be gained from observing b10 - 1 Hurt units in the (X=1, Y=0) cell of the table.  
其中的两个参数(用c10)执政前的测试可能的结果类型的分布在(X=1, Y=0)表的单元格。前增加了观察b10 - (X=1, Y=0)表的单元格的伤害单位将获得相同的信息。


参数:b11
One of two parameters (with c11) governing the beta prior for the distribution of potential outcome types within the (X=1, Y=1) cell of the table. This prior adds the same information as would be gained from observing b11 - 1 Always Succeed units in the (X=1, Y=1) cell of the table.  
其中的两个参数(用c11)执政前的测试可能的结果类型的分布在(X=1, Y=1)表的单元格。这之前增加将获得相同的信息,从观察b11 -  1(X=1, Y=1)表的单元格中总是成功的单位。


参数:c00
One of two parameters (with b00) governing the beta prior for the distribution of potential outcome types within the (X=0, Y=0) cell of the table. This prior adds the same information as would be gained from observing b00 - 1 Never Succeed units in the (X=0, Y=0) cell of the table.  
其中的两个参数(用b00)执政前的测试可能的结果类型的分布在(X=0, Y=0)表的单元格。这之前增加将获得相同的信息,从观察b00 -  1(X=0, Y=0)表的单元格绝对不能得逞的单位。


参数:c01
One of two parameters (with b01) governing the beta prior for the distribution of potential outcome types within the (X=0, Y=1) cell of the table. This prior adds the same information as would be gained from observing c01 - 1 Hurt units in the (X=0, Y=1) cell of the table.  
其中的两个参数(用b01)执政前的测试可能的结果类型的分布在(X=0, Y=1)表的单元格。前增加了观察c01 - (X=0, Y=1)表的单元格的伤害单位将获得相同的信息。


参数:c10
One of two parameters (with b10) governing the beta prior for the distribution of potential outcome types within the (X=1, Y=0) cell of the table. This prior adds the same information as would be gained from observing c10 - 1 Never Succeed units in the (X=1, Y=0) cell of the table.
其中的两个参数(用b10)执政前的测试可能的结果类型的分布在(X=1, Y=0)表的单元格。这之前增加将获得相同的信息,从观察c10 -  1(X=1, Y=0)表的单元格绝对不能得逞的单位。


参数:c11
One of two parameters (with b11) governing the beta prior for the distribution of potential outcome types within the (X=1, Y=1) cell of the table. This prior adds the same information as would be gained from observing b11 - 1 Helped units in the (X=1, Y=1) cell of the table.
其中的两个参数(用b11)执政前的测试可能的结果类型的分布在(X=1, Y=1)表的单元格。前增加了观察b11 - (X=1, Y=1)表的单元格的帮助单位将获得相同的信息。

In addition, if the user presses the Calculate Effects button, analyze2x2 is called with the current values of prior parameters. The output from analyze2x2 is written to an object in the global environment with the name given by the output.object argument (see argument list above).
此外,如果用户按下Calculate Effects按钮,analyze2x2被称为与现有的参数的当前值。输出analyze2x2书面的全球环境中的对象的output.object参数(见上面的参数列表)的名称。


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


Kevin M. Quinn



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

Table: Bayesian Inference and Sensitivity Analysis for Causal Effects from 2 x 2 and 2 x 2 x K Tables in the Presence of Unmeasured

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

ConfoundingPlot, analyze2x2xK, analyze2x2xK, summary.SimpleTable, plot.SimpleTable
ConfoundingPlot,analyze2x2xK,analyze2x2xK,summary.SimpleTable,plot.SimpleTable


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


## Not run: [#不运行:]
## Example from Quinn (2008)[#示例从奎因(2008)]
## (original data from Oliver and Wolfinger. 1999. [#(原奥利弗和Wolfinger 1999年的数据。]
##   ``Jury Aversion and Voter Registration.'' [“陪审团的厌恶和选民登记。]
##     American Political Science Review. 93: 147-152.)[#美国政治科学评论。 93:147-152)。]
##[#]
##        Y=0       Y=1[#Y = 0,Y = 1]
## X=0    19        143[#X = 0 19 143]
## X=1    114       473[#X = 1 114 473]
##[#]

ElicitPsi(C00=19, C01=143, C10=114, C11=473, output.object="output.2x2")


## End(Not run)[#(不执行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-24 21:08 , Processed in 0.025154 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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