pvalue.systematic(SCRT)
pvalue.systematic()所属R语言包:SCRT
P-value using the systematic procedure
P-值使用系统过程
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The P-value corresponding to the observed value of the test statistic is obtained by locating this value in the randomization distribution generated by complete enumeration of all assignment possibilities (the exhaustive randomization distribution).
检验统计量的观测值对应的P-值,是通过定位这个值所产生的完全列举所有的的分配可能性(详尽的随机分布)的随机分布。
用法----------Usage----------
pvalue.systematic(design, statistic, save = "no", limit, data = read.table(file.choose(new = FALSE)), starts = file.choose(new = FALSE))
参数----------Arguments----------
参数:design
Type of single-case design: "AB", "ABA", "ABAB", "CRD" (completely randomized design), "RBD" (randomized block design), "ATD" (alternating treatments design), or "MBD" (multiple-baseline AB design).
单例设计:"AB","ABA","ABAB","CRD"(完全随机设计),"RBD"(随机区组设计的类型),<X >(交替处理设计),或"ATD"(多基线AB设计)。
参数:statistic
Test statistic. For alternation designs, multiple-baseline designs and AB phase designs, there are 3 built-in possibilities: "A-B", "B-A", and "|A-B|", which stand for the (absolute value of the) difference between condition means. For phase designs with more than 2 phases, 6 more options are available: "PA-PB", "PB-PA", and "|PA-PB|" refer to the (absolute value of the) difference between the means of phase means, and "AA-BB", "BB-AA" and "|AA-BB|" represent the (absolute value of the) difference between the sums of phase means.
检验统计量。交替设计,多基线设计,AB相设计,内置有3个可能性:"A-B","B-A"和"|A-B|",站(绝对值)条件的手段之间的差异。对于超过2个阶段,相设计与6个选项:"PA-PB","PB-PA"和"|PA-PB|"(绝对值)相差手段相是指,和"AA-BB","BB-AA"和"|AA-BB|"(绝对值)相差阶段的手段的总和。
参数:save
Save the randomization distribution to a file (save="yes") or just see it as output in the R console (default: save="no").
的随机分布保存到一个文件中(save="yes"),或只看到它在R控制台输出(默认:save="no"“)。
参数:limit
For phase designs: minimum number of observations per phase. For alternating treatments designs: maximum number of consecutive administrations of the same condition.
相设计:最低每相的观察。交替处理设计的最大数量相同的条件下连续主管部门。
参数:data
File in which the data can be found. Default: a window pops up in which the file can be selected.
的数据文件,在其中可以找到。默认值:弹出一个窗口,在其中可以选择的文件。
参数:starts
Only for multiple baseline designs: location of the file where the possible start points can be found. Default: a window pops up in which the file can be selected.
仅适用于多基线设计文件的位置可能开始点都可以找到。默认值:弹出一个窗口,在其中可以选择的文件。
Details
详细信息----------Details----------
When using the default data argument, a window will pop up to ask in what file the data can be found. This text file containing the data should consist of two columns for single-case phase and alternation designs: the first with the condition labels and the second with the obtained scores. For multiple-baseline designs it should consist of these two columns for EACH unit. This way, each row represents one measurement occasion. It is important not to label the rows or columns.
当使用默认的data的说法,一个窗口会弹出问什么文件数据可以发现。该文本文件包含的数据应包括两列的情况下,单相交替设计:第一个条件标签和第二次所获得的分数。多基线设计,它应该包括两列,每个单元。通过这种方式,每一行代表一个测量场合。重要的是不要标记的行或列。
For multiple baseline designs, when using the default starts argument, second a window pops up in which is asked in what file the possible start points can be found. In this startpoint file, each row should contain all possibilities for one unit, separated by a tab. The rows and columns should not be labeled.
多基线设计,当使用默认starts的说法,第二个窗口弹出,这是问什么文件可以发现可能的起点。在这个起始点文件中,每一行应包含所有的可能性为一个单位,由制表符分隔的。不应被标记的行和列。
When choosing to save the randomization distribution to a file, next a window will pop up (for multiple baseline designs this is the third pop-up window, for all other designs it is the second window) to ask where to save it. This location can be an existing file, as well as a new file that can be created by giving a file name and the extension .txt. In this latter case a confirmation is required ("The file does not exist yet. Create the file?").
当选择保存到一个文件中的随机分布,下一个窗口将自动弹出(多基线设计,这是第三个弹出式窗口,所有其他的设计中,它是第二个窗口),请问哪里可以将它保存。此位置可以是现有的文件,以及可以创建一个新的文件,给出文件名和扩展名。TXT。在后一种情况下则需要进行确认(“文件不存在,创建文件?”)。
参考文献----------References----------
参见----------See Also----------
distribution.systematic to generate the corresponding exhaustive randomization distribution.
distribution.systematic生成相应的详尽的随机分布。
observed to calculate the observed test statistic.
observed计算所观察到的检验统计量。
distribution.random to generate the nonexhaustive randomization distribution and pvalue.random to obtain the corresponding p-value.
distribution.random来生成的非穷举随机分布和pvalue.random以获得相应的p-值。
实例----------Examples----------
data(ABAB)
pvalue.systematic(design = "ABAB", statistic = "AA-BB", save = "no", limit = 4, data = ABAB)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|