search for: p2_x

Displaying 1 result from an estimated 1 matches for "p2_x".

Did you mean: p2_a
2008 Mar 06
0
Help with colinearity problem in multiple linear regression
...f data. P1 = P[1:25,] P2 = P[26:50] # Partition 1 - calculated on host 1 P1_X = as.matrix(cbind(1, P1[,c("UrbanPop", "Assault", "Rape", "Introduced")])) P1_A = t(P1_X) %*% P1_X P1_b = t(P1_X) %*% P1[,"Murder"] # Partition 2 - calculated on host 2 P2_X = as.matrix(cbind(1, P2[,c("UrbanPop", "Assault", "Rape", "Introduced")])) P2_A = t(P2_X) %*% P2_X P2_b = t(P2_X) %*% P2[,"Murder"] # repeat for partitions 3:N # ... # collect data from the all the partitions, this is the key for # the parallelis...