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

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

[复制链接]
发表于 2012-2-25 21:02:13 | 显示全部楼层 |阅读模式
permPower(GraphAT)
permPower()所属R语言包:GraphAT

                                        Function to compute estimated probability of detecting preferential
                                         函数来计算概率的估计检测优惠

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

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

This function simulates graphs from the alternative hypothesis
此功能模拟图替代假说


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


permPower(psi=1,clsizes, nedge, nhyper=100, nperms=1000)



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

参数:psi
The non-centrality parameter for the noncentral hypergeometric distribution used to simulate the graphs.
非中心的超几何分布的非核心参数用来模拟图。


参数:clsizes
A vector of cluster sizes.
簇大小的向量。


参数:nedge
The number of edges in each graph.
在每个图形的边数。


参数:nhyper
The number of noncentral hypergeometric graphs simulated to estimate "power".
非中心模拟估计的“权力”超几何图。


参数:nperms
The number of permutations used for each run of the edge and node permutation tests.
每个边缘节点排列测试运行使用的排列数。


Details

详情----------Details----------

The function first generates nhyper realizations of a noncentral hypergeometric(nedge,n,k,psi) random variable, where n is the number of node pairs and k is the number of intracluster node pairs.  For each realization x, a graph with n edges, x of which are intracluster, is generated.  The edge and node permutation tests (with nperms permutations each) are performed on each graph.  The estimated “power” of each test is the proportion of graphs for which the test rejects the null hypothesis of no preferential connection of intracluster nodes (at the 5% level).  The 95% confidence intervals for the power levels are also computed.  
该函数首先生成一个非中心的超几何(nedge,N,K,PSI)的随机变量,其中n是节点对数和k是聚类内节点对数的nhyper实现。对于每个实现x,x的n条边的图,是聚类内,生成。每个图形边缘节点排列测试nperms排列每个。估计每个测试的“权力”是图的检验拒绝零假设没有优惠聚类内节点连接(在5%的水平)的比例。功率水平的95%置信区间的计算。


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

A list with four components:
四个组成部分的列表:


参数:power.permedge
Estimated “power” for edge permutation test.
预计“权力”的边缘排列测试。


参数:power.permnode
Estimated “power” for node permutation test.
预计“权力”为节点的排列测试。


参数:CI.permedge
Vector giving 95% confidence interval for edge permutation test power.
向量给予95%置信区间边缘排列测试电源。


参数:CI.permnode
Vector giving 95% confidence interval for node permutation test power.
向量给予95%置信区间节点排列测试电源。


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


Tom LaFramboise <a href="mailto:tlaframb@hsph.harvard.edu">tlaframb@hsph.harvard.edu</a>



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

permEdgesM2M, permNodesM2M, makeClustM
permEdgesM2M,permNodesM2M,makeClustM


举例----------Examples----------


permPower(psi=5,clsizes=c(1,2,3,4),nedge=10,nhyper=100,nperms=100)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 16:45 , Processed in 0.025035 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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