Displaying 4 results from an estimated 4 matches for "population1".
Did you mean:
population
2005 Apr 20
1
negative p-values from fisher's test (PR#7801)
...NULL) (137.187.154.154)
I am running simulations using fisher's test on 2 x c tables and a very small
p.value from fisher's test (<2.2e-16) is returned as a negative number. Code
follows.
> set.seed(0)
> nreps.outer <-7
> pvalue.fisher <- rep(NA,nreps.outer)
>
> population1 <- c( rep("A",300),seq(1:100))
>
> population2 <- c( rep("A",100),seq(101:200))
>
>
> for (j in 1:nreps.outer){
+ n1 <- sample(30:100,1)
+ n2 <- sample(30:100,1)
+
+ group1 <- sample(population1, n1, replace=T)
+ group2 <- sample(population2...
2010 Mar 19
1
Howto get unnormalized eigenvectors?
...My issue here is, that all possibilities to do so seem to normalize the eigenvectors to length 1. Although the helpfile of eigen() states, that using eigen(, symmetric = FALSE, EISPACK =TRUE) skips normalization this is (I guess) not applicable for me as my matrices are symmetric.
x<-eigen(cov(population1))$vectors[,1]
y<-eigen(cov(population2))$vectors[,1]
angle (in degree):
((acos((x%*%y)/(sqrt(x%*%y)*sqrt(y%*%y))))*180)/pi
Thus by using normalized vectors, the divisor becomes meaningless being 1.
Does anybody have an idea to get raw eigenvectors?
Thanks a lot
Kay Lucek
Aquatic Ecology &...
2012 Feb 19
1
coxme: model simplification using LR-test?
...NULL Integrated Fitted
Log-likelihood -2915.527 -2641.427 -2634.182
Chisq df p AIC BIC
Integrated loglik 548.20 7.00 0 534.20 505.04
Penalized loglik 562.69 6.96 0 548.78 519.80
Model: Surv(day, status) ~ condition * infestation + (1 | infestation/population1)
Fixed coefficients
coef exp(coef) se(coef) z p
conditionstarved 3.3960657 29.8464431 0.3228277 10.52 0.0000
conditionwater 3.3277968 27.8768547 0.3224368 10.32 0.0000
infestationinf...
2005 Nov 22
1
Kolmogorov-Smirnov test help
...dant tree populations have the same size-class
distribution or not. The trees have been placed into size-class categories
based on their basal diameters. Once I started running the stats on my data,
I got confused with the results. Just to show an example of what I was
testing I ran stats comparing population1 to population 2. and then
comparing population 3 to population 2.
Popn1 Popn2 Popn3 880 769 0 34 40 19 10 24 19 2 2 8 2 2 36 0 0 0
Common sense tells me that P1 and P2 are similar and that P3 and P2 are
dissimilar. However, for the P1 versus P2 test I am getting p-value of 1
(saying they ar...