Displaying 1 result from an estimated 1 matches for "condition_number".
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,