rvgt.Mtest(rvgtest)
rvgt.Mtest()所属R语言包:rvgtest
Perform M-Test on RVG Frequency Table
执行M-RVG测试频率表
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Perform an adjusted residual test (“M-Test”) on the RVG frequency table.
执行调整后的残差检验(“M-测试”)的RVG频率表。
用法----------Usage----------
rvgt.Mtest(ftable)
参数----------Arguments----------
参数:ftable
object of class "rvgt.ftable".
对象类"rvgt.ftable"。
Details
详细信息----------Details----------
rvgt.Mtest performs an adjusted residual test (“M-Test”) on the bin counts of the RVG frequency tables created by means of rvgt.ftable. The null hypothesis is that the bin counts are distributed according to the expected probabilities (i.e., proportional to the lengths of the histogram cells).
rvgt.Mtest通过的rvgt.ftable的的RVG频率表就完事了数执行调整后的残留试验(“M测试”)。无效假设是根据预期的概率(即,直方图单元的长度成比例)的bin计数分布。
If the ftable contains the bin counts for more than one repetitions then the test is repeated with column sums of increasing number of rows which corresponds to increasing sampling sizes. This allows for getting an idea of the power of the test.
如果ftable中包含一个以上的重复的bin计数,然后重复测试时用柱总和对应于增加采样大小的行的数量的增加。这样就可以得到一个想法,电源的测试。
值----------Value----------
An object of class "rvgt.htest" which is a list with components:
类的一个对象"rvgt.htest"这是一个组件列表:
<table summary="R valueblock"> <tr valign="top"><td>type</td> <td> character string containing type of test; equals "M-test".</td></tr> <tr valign="top"><td>n</td> <td> sample size for every row in ftable.</td></tr> <tr valign="top"><td>rep</td> <td> number of rows in ftable.</td></tr> <tr valign="top"><td>breaks</td> <td> number of break points in ftable (i.e., number of bins + 1).</td></tr> <tr valign="top"><td>pval</td> <td> vector of p-values.</td></tr> </table>
<table summary="R valueblock"> <tr valign="top"> <TD> type</ TD> <TD>字符串类型的测试;等于"M-test"。</ TD> </ TR> <tr valign="top"> <TD> n </ TD> <TD>样本量中的每一行ftable</ TD> </ TR> <TR VALIGN =“”> <TD>rep </ TD> <TD>中的行数ftable。</ TD> </ TR> <tr valign="top"> <TD> breaks </ TD> <TD>破发点,ftable(即箱+ 1)。</ TD> </ TR> <tr valign="top"> <TD> pval</ TD> <TD>矢量的p-值。</ TD> </ TR> </ TABLE>
(作者)----------Author(s)----------
Sougata Chaudhuri <a href="mailto:sgtchaudhuri@gmail.com">sgtchaudhuri@gmail.com</a>,
Josef Leydold <a href="mailto:josef.leydold@wu.ac.at">josef.leydold@wu.ac.at</a>
参考文献----------References----------
C. Fuchs and R. Kenett. A test for Detecting Outlying Cells in the Multinomial Distribution and Two-Way Contingency Tables. Journal of American Statistical Association, Vol 75, June 1980, 395–398.
参见----------See Also----------
See plot.rvgt.htest for the syntax of the plotting method.
见plot.rvgt.htest的语法作图法。
实例----------Examples----------
## Create a frequency table for normal distribution and[#创建一个频率正态分布表]
## conduct an M-test on this data.[#进行M-测试,该数据。]
## Use a sample of size of 5 times 10^5 random variates.[#使用的样本尺寸的5倍,10 ^ 5个随机变数。]
table <- rvgt.ftable(n=1e5,rep=5, rdist=rnorm,qdist=qnorm, mean=1,sd=2)
## Perform test[#进行测试]
result <- rvgt.Mtest(table)
## Plot result[#图结果]
plot(result)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|