Displaying 1 result from an estimated 1 matches for "measure_errors".
2012 Feb 06
1
Simple lm/regression question
...er the actual
response minus fitted values. (They seem to be scaled by the sqrt of the
weights). The uncertainties on the parameter estimates, however, have
*not* changed, which seems very odd to me.
The behaviour of IDL is rather different and intuitive to me:
IDL> vec=linfit(x,y,sigma=sig,measure_errors=[1,1,1,1])
IDL> print,vec,sig
-5.00000 5.00000
1.22474 0.447214
IDL> vec=linfit(x,y,sigma=sig,measure_errors=[10,10,10,10])
IDL> print,vec,sig
-5.00000 5.00000
12.2474 4.47214
Note that the uncertainties are 10* larger when the errors are 10*...