Displaying 3 results from an estimated 3 matches for "conditionnumb".
Did you mean:
conditionnum
2005 Apr 21
0
colldiag
...2.508 0.000 0.113 0.000 0.097 0.791
3 6.660 0.028 0.647 0.024 0.289 0.013
4 10.155 0.219 0.035 0.259 0.402 0.085
5 280.800 0.518 0.000 0.482 0.001 0.000
while in SAS:
Collinearity Diagnostics (intercept adjusted)
ConditionNumber Eigenvalue Index
1 4.19713 1.00000
2 0.66748 2.50759
3 0.09463 6.65986
4 0.04070 10.15459
5 0.00005323 280.80004
Collinearity Diagnostics (intercept adjusted)
------...
2012 Apr 13
1
Seemingly simple "lm" giving unexpected results
I can't figure out why this is returning an NA for the slope in one case,
but not in the other.
I can tell that R thinks the first case is singular, but why isn't the
second?
## Define X and Y
## There are two versions of x
## 1) "as is"
## 2) shifted to start at 0
y = c(58, 57, 57, 279, 252, 851, 45, 87, 47)
x1 = c(1334009411.437, 1334009411.437, 1334009411.437,
2009 Jun 25
2
Error: system is computationally singular: reciprocal condition number
I get this error while computing partial correlation.
*Error in solve.default(Szz) :
system is computationally singular: reciprocal condition number =
4.90109e-18*
Why is it?Can anyone give me some idea ,how do i get rid it it?
This is the function i use for calculating partial correlation.
pcor.mat <- function(x,y,z,method="p",na.rm=T){
x <- c(x)
y <- c(y)