简体   繁体   English

如何获得所有变量的 p 值,然后使用 function ordiR2step?

[英]How do I get p-values for all variables then using function ordiR2step?

In R: I'm doing a partial RDA, using a forward selection procedure to identify the explanatory variables which are most important for a coleoptera community.在 R 中:我正在做部分 RDA,使用前向选择程序来识别对鞘翅目群落最重要的解释变量。

But how do I get not only adjusted R2 values, but also p-values for all tested variables when using function ordiR2step?但是,当使用 function ordiR2step 时,如何不仅获得调整后的 R2 值,还获得所有测试变量的 p 值?

And why is function ordiR2step so much faster than ordistep in doing so??为什么 function ordiR2step 比 ordistep 快这么多?

I first answer to the last question: ordiR2step is so much faster than ordistep because it does not estimate all p -values.我首先回答最后一个问题: ordiR2stepordistep快得多,因为它不估计所有p值。

The p -values are found with permutation tests, and running those tests to all variables takes time. p值是通过置换测试找到的,并且对所有变量运行这些测试需要时间。

There is no way of getting all so-called p -values in ordiR2step because the method does not use those, as is explained in the source paper cited (Blanchet et al. 2008 in the help page) and the help page.没有办法在ordiR2step中获取所有所谓的p值,因为该方法不使用这些值,正如引用的源文件(Blanchet 等人 2008 在帮助页面中)和帮助页面中所解释的那样。 That is the reason why the method is called ordi R2 step : it uses primarily R 2 instead of p -values.这就是该方法被称为ordi R2 step的原因:它主要使用R 2而不是p值。 If you want to get all p -values, you must use a method that was written to evaluate those, that is ordistep .如果要获取所有p值,则必须使用一种为评估这些值而编写的方法,即ordistep

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM