For a linear model without an intercept term as in this example, neither
the usual permutation scheme for testing Ho: B1 = 0 nor usual definition of
R-squared apply. So you need to check what the developer of this code
chose to do. If I'm recalling correctly, in a linear model with an
intercept t
That is contributed code. It could do anything the author felt like. I
recommend reading the source code.
--
Sent from my phone. Please excuse my brevity.
On September 5, 2016 11:52:15 PM PDT, Agustin Lobo wrote:
>Any reason why the R-square prob is not calculated by randomization in
>lmPerm::
Any reason why the R-square prob is not calculated by randomization in
lmPerm::lmp? The help pages states "Either permutation test p-values
or the usual F-test p-values will be output", but I always get the F
test for R-square as with lm():
require(lmPerm)
x <- 1:1000
set.seed(1000)
y1 <- x*2+runi
3 matches
Mail list logo