Re: [R] help in M-estimator by R

2012-11-23 Thread S Ellison
> -Original Message- > i have to do something in robust regression by R programm , > and i have some problems as following: > > *the first :* Afte loading MAS, type 'hubers' (without brackets) and look at the code. That should give you a clue. > new psi ( psi.a=r/(1+(r/k)^2)) ,k=1.34

[R] help in M-estimator by R

2012-11-22 Thread Sarah_R_edu
hi guys and gals ... How are you all ... i have to do something in robust regression by R programm , and i have some problems as following: *the first :* suppose w(r) =1/(1 r^2) and r <- c(7.01,2.07,7.061,5.607,8.502,54.909,12.222) and i want to exclude some values from r so that (abs(r)>4.9 ).