Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于使用permutation与bootstrap的问题 #3

Open
Wang-jianyu opened this issue Sep 2, 2020 · 0 comments
Open

关于使用permutation与bootstrap的问题 #3

Wang-jianyu opened this issue Sep 2, 2020 · 0 comments

Comments

@Wang-jianyu
Copy link

你好,我这里有一个疑问,使用permutation与bootstrap计算的是Bray-Curtis index的p值,而通过高斯分布得到的最终p值,却使用的是Bray-Curtis dist。是否在使用permutation与bootstrap时,可以计算Bray-Curtis dist(1-Bray-Curtis index)的p值,并引入后续分析。
具体如下:
bray.mean.perm <- bray.mean.perm + (1-as.matrix(bray.perm))

bray.mean.boot <- bray.mean.boot + (1-as.matrix(bray.boot))

bray.sd.boot <- bray.sd.boot+((1-as.matrix(bray.boot))- bray.mean.boot/1000)^2

谢谢~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant