Displaying 20 results from an estimated 186 matches for "huberized".
2011 Feb 03
1
"hubers" function in R MASS library : problem and solution
Hello:
I found the "hubers" function in MASS library is NOT working on the following
data:
> a <-
2005 Dec 22
1
Huber location estimate
We have a choice when calculating the Huber location estimate:
> set.seed(221205)
> y <- 7 + 3*rt(30,1)
> library(MASS)
> huber(y)$mu
[1] 5.9117
> coefficients(rlm(y~1))
(Intercept)
5.9204
I was surprised to get two different results. The function huber() works
directly with the definition whereas rlm() uses iteratively reweighted
least squares.
My surprise is
2008 Nov 19
1
How to get robust M-estimator of multivariate scatter using Huber's psi?
How to get robust M-estimators of multivariate scatter using Huber's psi?
Which package/function should I look into? Ideally, I hope I can
self-define thresholds of Huber's psi function.
Thanks a lot!!!
--
View this message in context: http://www.nabble.com/How-to-get-robust-M-estimator-of-multivariate-scatter-using-Huber%27s-psi--tp20585755p20585755.html
Sent from the R help mailing
2007 Jan 19
1
Suggestion on how to improve efficiency when using MASS:::hubers on high-dimensional arrays
Hi Everyone,
Given the scenario I have, I was wondering if anyone would be able to
give me a hind on how to get the results from hubers() in a more
efficient way.
I have an outcome on an array [N x S x D].
I also have a factor (levels 1,2,3) stored on a matrix N x S.
My objective is to get "mu" and "sigma" for each of the N rows
(outcome) stratified by the factor
2018 Apr 06
1
Fast tau-estimator line does not appear on the plot
R-experts,
I have fitted many different lines. The fast-tau estimator (yellow line) seems strange to me?because this yellow line is not at all in agreement with the other lines (reverse slope, I mean the yellow line has a positive slope and the other ones have negative slope).
Is there something wrong in my R code ? Is it because the Y variable is 1 vector and should be a matrix ?
Here is the
2018 Apr 07
0
Fast tau-estimator line does not appear on the plot
You need to pay attention to the documentation more closely. If you don't
know what something means, that is usually a signal that you need to study
more... in this case about the difference between an input variable and a
design (model) matrix. This is a concept from the standard linear algebra
formulation for regression equations. (Note that I have never used RobPer,
nor do I regularly
2018 Sep 20
3
A different error in sample()
Good day,
The use of "rounding" also doesn't make sense. If The number is halfway between two integers, it is rounded to the nearest even integer.
> round(2.5)
[1] 2
--------------------------------------
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia
2010 Jan 16
1
"Too many raster images" in devPS.c
Hi,
I am finding the recently added [1] functionality of embedding raster
images into plots on R devices very useful! Thanks to Paul Murrell and
others for providing that. I noted that in
https://svn.r-project.org/R/trunk/src/library/grDevices/src/devPS.c
a macro is defined: #define MAX_RASTERS 64, and consequently, I get
Error in grid.Call.graphics("L_raster", x$raster, x$x, x$y,
2018 Sep 20
2
A different error in sample()
FWIW, I suspect this is related to the function R_unif_index that was
introduced in src/main/RNG.c around revision 72356, or the way this
function is used in do_sample in src/main/random.c.
20.9.18 08:19, Wolfgang Huber scripsit:
> Besides wording of the documentation re truncating vs rounding, there is
> something peculiar going on with the fractional part of n:
>
> >
2009 Mar 03
2
latex output of regressions with standardized regression coefficients and t-statistics based on Huber-White
Hello,
first of all: I'm new to R and have only used SPSS befor this (which
can't do this at all...).
I'm trying to output some regression results to latex. The regressions
are normal OLS and I'm trying to output the results with standardized
regression coefficients and t-statistics based on "Huber-White sandwich
estimator for variance". The final result should be
2008 Apr 10
4
Huber-white cluster s.e. after optim?
I've used optim to analyze some data I have with good results, but
need to correct the var-cov matrix for possible effects of clustering
of observations (respondents) in small groups (non-independence). Is
there any function to adjust the matrix? I heard some time ago that
the vcovHC function would have a cluster capability added to it, but I
don't see that in my fairly recent version.
2004 Nov 25
0
help with error message
Before I receive a barrage of 'try looking in the help file' messages, I
have and to no avail. For a new user of R I would like to point out that
in order to be able to use the help files/manuals effectively one must
know the correct question and that only comes with using R!
Could someone please direct me to why I keep getting the following
error message
"Error: subscript out of
2004 Nov 25
0
help with error message - problem solved
Apologies to the listing, the problem was with the data set and not the
code
Thanks
Michael Griffiths, Ph.D.
Chemometrician
Training, Quality and Statistics Group
LGC Limited
Queens Road
Teddington
Middlesex, TW11 0LY, UK
Tel: +44 (0)20 8943 7352
Fax: +44 (0)20 8943 2767
e-mail: michael.griffiths at lgc.co.uk
>>> "Michael Griffiths" <Michael.Griffiths at lgc.co.uk>
2009 Aug 12
1
psi not functioning in nlrob?
Hi all,
I'm trying to fit a nonlinear regression by "nlrob":
model3=nlrob(y~a1*x^a2,data=transient,psi=psi.bisquare,
start=list(a1=0.02,a2=0.7),maxit=1000)
However an error message keeps popping up saying that the function
psi.bisquare doesn't exist.
I also tried psi.huber, which is supposed to be the default for nlrob:
model3=nlrob(y~a1*x^a2,data=transient,psi=psi.huber,
2010 Oct 13
2
Scripting SVG with R
Since now many browsers support (ECMA/Java-)scripted SVG, I am wondering
whether there are already any examples of inserting R code into SVG
documents (or a Javascript canvas?) either directly, or perhaps more
likely through a JavaScript layer, to dynamically generate graphics or
make them interactive?
I am aware of the excellent packages gridSVG and SVGAnnotation, which
facilitate making
2007 Mar 06
2
SVG and tooltips, hyperlinks
Dear all,
is there a good way to create SVG plots with R whose elements have
titles (tooltips) or act as hyperlinks?
I am using the RSvgDevice package, which works great - but it doesn't
seem to support the notion that plot objects have titles or are act as
hyperlinks, so I am helping myself by giving the objects funny unique
colors and then postprocessing the .svg file.
I wonder
2012 Nov 22
1
help in M-estimator by R
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 )...
after ,i want to used (w) to get on coefficients beta0 and beta1 (B1 <-
2008 Jul 11
1
Subsetting an array by a vector of dimensions
Hi
Is it possible to subset an n-dimensional array by a vector of n dimensions? E.g. assume I have
> x <- array(1:24, dim=2:4)
> x[1,1,2]
[1] 7
> dims <- c(1,1,2)
I would like a function that I can supply x and dims as parameters to, and have it return 7. Also, I would like to do something like:
> x[1,1,]
[1] 1 7 13 19
> dims2<- c(1,1,NA)
And have a function of x and
2018 Mar 31
0
Fast tau-estimator line does ot appear on the plot
On 31/03/2018 11:57 AM, varin sacha via R-help wrote:
> Dear R-experts,
>
> Here below my reproducible R code. I want to add many straight lines to a plot using "abline"
> The last fit (fast Tau-estimator, color yellow) will not appear on the plot. What is going wrong ?
> Many thanks for your reply.
>
It's not quite reproducible: you forgot the line to create
2006 Jul 14
2
Export to LaTeX
Dear Everybody!
I want to export data to LaTeX. As I want to employ the data as freely as
possible I want to avoid the xtable-command and instead generate some List
like
\MyOwnPrettyCommand{Adam}{Auer}{17}
\MyOwnPrettyCommand{Bertram}{Bauer}{14}
\MyOwnPrettyCommand{Christoph}{Huber}{75}
\MyOwnPrettyCommand{Damian}{Dorfer}{69}
\MyOwnPrettyCommand{Emanuel}{Eder}{43}
with \MyOwnPrittyCommand