Skip to content
Prev 199978 / 398502 Next

naive "collinear" weighted linear regression

On Nov 11, 2009, at 7:45 PM, Mauricio Calvao wrote:

            
Which means those x, y, and "error" figures did not come from an  
experiment, but rather from theory???
(Actually the weights are for adjusting for sampling, and I do not  
see any sampling in your "design".)
Well, not precisely 2 and 0, but rather something very close ... i.e,  
within "experimental error". Please note that numbers in the range of  
10e-17 are effectively zero from a numerical analysis perspective.

http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f

 > .Machine$double.eps ^ 0.5
[1] 1.490116e-08
You are trying to impose an error structure on a data situation that  
you constructed artificially to be perfect.
That if you input "perfection" into R's linear regression program, you  
get appropriate warnings?
You are a Professor of physics, right? You do experiments, right? You  
replicate them.  S0 perhaps I'm the one who should be puzzled.