Displaying 4 results from an estimated 4 matches for "beston".
Did you mean:
boston
2002 Mar 02
1
query on lqs
Is there a way of getting a list of indices or something indicating which set
of points lqs when doing a regression? The $bestone, seems to return only
2 pts. no matter how good or bad the fit. I checked the archive for the past
few months, but didn't find anything.
thanks in advance, Mark Hall
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci...
2003 Feb 10
2
problems using lqs()
...21.789, 22.041, 21.033, 21.005, 25.865, 26.290, 22.932, 21.313,
20.769, 21.393)
and I would like to fit the following model:
mod1 <- lqs(y ~ x1 + x2, method="lms", nsamp="exact")
mod1$coefficients
(Intercept) x1 x2
35.5293489 0.4422742 -1.2944534
mod1$bestone
[1] 12 17 27
Now, instead of using the formula, I want to provide the design matrix and
the response, then:
X <- cbind(1, x1, x2)
mod2 <- lqs.default(X, y, intercept=F, method="lms", nsamp="exact")
mod2$coefficients
x1 x2
35.4217275 0.4276641...
2002 Jan 22
1
documentation and plotting with lqs
Dear r-help,
Is there any available description of the components of lqs objects
found in the package "lqs"?
> names(slts)
[1] "crit" "sing" "coefficients" "bestone"
[5] "fitted.values" "residuals" "scale" "terms"
[9] "call" "xlevels" "model"
Also is there any plotting available for lqs?
And trying plot on the lqs object doesn't work:
&...
2005 Sep 01
0
Robust Regression - LTS
...data = DATA, method = "lts")
Coefficients:
(Intercept) ORR
7.578e+08 2.533e+01
Scale estimates 1.333e+09 1.303e+09
Length Class Mode
crit 1 -none- numeric
sing 1 -none- character
coefficients 2 -none- numeric
bestone 2 -none- numeric
fitted.values 4899 -none- numeric
residuals 4899 -none- numeric
scale 2 -none- numeric
terms 3 terms call
call 4 -none- call
xlevels 0 -none- list
model 2 data.frame lis...