Displaying 20 results from an estimated 1000 matches similar to: "LTS"
2003 Jun 18
1
Ltsreg and nsamp="exact"
I'm trying to use least trimmed squares using ltsreg with nsamp="exact".
When I use the following:
rg <- ltsreg(x,y,nsamp="exact")
I get:
Error in lqs.default(x, y, nsamp = "exact", method = "lts") :
NAs in foreign function call (arg 10)
In addition: Warning message:
NAs introduced by coercion
Incidentally, there are no missings in x or y,
2012 Jan 23
1
R not giving significance tests for coefficients/estimates?
> 3x4
Error: unexpected symbol in "3x4"
R has no idea that you equate "x" as multiplication.. use an astrix
> 3*4
[1] 12
dominic wrote
>
> This is basically my code:
>
> library(MASS)
> lmsreg(formula = b0 ~ b1 + b3 + b1xb2, data=mydata)
>
> b1xb2 is an interaction but it was the centered value for a continuous
> variable times a
2005 Sep 01
0
Robust Regression - LTS
Hi,
I am using robust regression, i.e. model.robust<-ltsreg(MXD~ORR,data=DATA).
My question:- is there any way to determine the Robust Multiple R-Squared
(as returned in the summary output in splus)? I found an equivalent model in
the rrcov package which included R-square, residuals etc in it's list of
components, but when I used this package the only results returned were
equivalent to
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"
2003 Feb 10
2
problems using lqs()
Dear List-members,
I found a strange behaviour in the lqs function.
Suppose I have the following data:
y <- c(7.6, 7.7, 4.3, 5.9, 5.0, 6.5, 8.3, 8.2, 13.2, 12.6, 10.4, 10.8,
13.1, 12.3, 10.4, 10.5, 7.7, 9.5, 12.0, 12.6, 13.6, 14.1, 13.5, 11.5,
12.0, 13.0, 14.1, 15.1)
x1 <- c(8.2, 7.6,, 4.6, 4.3, 5.9, 5.0, 6.5, 8.3, 10.1, 13.2, 12.6, 10.4,
10.8, 13.1, 13.3, 10.4, 10.5, 7.7, 10.0, 12.0,
2002 Nov 14
1
R-1.6.1, Mac OS X 10.2.2 build failure
I tried building R-1.6.1 under Mac OS X 10.2.2 and experienced the
following build failure:
<...stuff omitted...>
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
gcc -bundle -flat_namespace -undefined suppress -L/usr/local/lib -o
ctest.so ansari.o chisqsim.o d2x2xk.o
2005 Sep 14
1
R CMD check
Dear r-devel members,
I tried to build R packages on a PC running Windows XP but experience
problems. However, it is ok when there is no inst directory in a package.
Any help would be appreciated.
The following is an example,
C:\work>R CMD check VR_7.2-19.tar.gz
* checking for working latex ... OK
* using log directory 'C:/work/VR.Rcheck'
* using R version 2.1.1, 2005-06-20
*
2003 Jul 30
2
robust regression
Hi,
trying to do a robudt regression of a two-way linear model, I keep
getting the following error:
> lqs(obs ~ y + s -1,method="lms", contrasts=list(s=("contr.sum")))
Error: lqs failed: all the samples were singular
Robust regression with M-estimators works (also regular least square
fits, of course):
rlm.formula(formula = obs ~ y + s - 1, method = "M",
2011 Oct 11
1
R CMD INSTALL writes to stderr
Dear list,
(this is a follow up from a previous query)
Why does R CMD INSTALL write most of its messages to stderr? If it wrote to stdout, then we could capture its output within an R session when calling
sink("stdout.txt", type="output")
install.packages("MASS", type="source")
sink()
As it stands, the stderr messages can't be captured via
2001 Nov 29
0
ltsreg warnings (PR#1184)
Full_Name: Charles J. Geyer
Version: 1.3.1
OS: linux-gnu-i686
Submission from: (NULL) (134.84.86.22)
ltsreg gives incomprehensible (to me) warnings
A homework problem for nonparametrics
########## start example ##########
library(bootstrap)
data(cell)
names(cell)
attach(cell)
library(lqs)
plot(V1, V2)
fred <- ltsreg(V2 ~ V1 + I(V1^2))
curve(predict(fred, data.frame(V1 = x)), add = TRUE)
2004 May 21
2
Help with Plotting Function
Dear List:
I cannot seem to find a way to plot my data correctly. I have a small data frame with 6 total variables (x_1 ... x_6).
I am trying to plot x_1 against x_2 and x_3.
I have tried
plot(x_2, x_1) #obviously works fine
plot(x_3, x_1, add=TRUE) # Does not work. I keep getting error messages.
I would also like to add ablines to this plot.
I have experimented with a number of other
1998 Aug 31
0
Packages aov, modreg, lqs, psplines
I now have versions of code that is destined (I believe) for 0.63 which
is in a suitable state for comment. The files are at
ftp://ftp.stats.ox.ac.uk/pub/R
(Our www server is being moved, so may be intermittently down, but this
ftp server should be stable.) All are R packages, for the moment for
personal use only (no re-distribution). Use with 0.62.3 or 0.63 (although
I am aware of some
2004 Nov 11
2
inst/CITATION produced error during Rcmd check <package>
Dear list member,
by running Rcmd check on a package where a customised 'CITATION' file should
be included instead of the automatically produced one, the following error
occurs:
adding build stamp to DESCRIPTION
installing NAMESPACE file and metadata
installing R files
installing inst files
FIND: Parameter format not correct
make[2]: *** [c:/R/packages/urca/inst] Error 2
make[1]:
2014 Jan 11
1
gcc: error: SHLIB_LIBADD: No such file or directory
Hi,
I installed Ubuntu 13.10 on Android 4.4.2 (Nexus 5). I also
installed all the tools I have on my Desktop Ubuntu without
problems on the Nexus 5 Ubuntu. I then wanted to install R-3.0.2 (from
source). 'make' runs fine up to installing MASS:
make[2]: Entering directory `/usr/local/R/R-3.0.2-build/src/library/Recommended'
begin installing recommended package MASS
During startup -
2007 Aug 23
1
Error building R 2-5.2.1 on Sun Solaris 8
As shown below, the build process fails with only vague messages,
leaving me clueless as to how to resolve.
Thanks, in advance, for any help that you may offer.
Mike
--------------------------------------
# ./configure --prefix=/SOURCES/R-2.5.1 --with-iconv=no
...
...
...
R is now configured for sparc-sun-solaris2.8
Source directory: .
Installation directory: /SOURCES/R-2.5.1
C compiler: gcc
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
2008 Feb 13
1
compiling 2.6.2 using icc
I am having trouble compiling R-2.6.2 on suse linux x86_64 using the
intel compiler. I read section C.2.1 Intel compilers in the R
Installation and Administration manual, and put
CC=icc
CFLAGS="-g -O3 -wd188 -ip"
F77=ifort
FFLAGS="-g -O3"
ICC_LIBS=/opt/intel/cce/10.1.012/lib
IFC_LIBS=/opt/intel/fce/10.1.012/lib/
LDFLAGS="-L$ICC_LIBS -L$IFC_LIBS -L/usr/lib64"
2016 Aug 04
3
curl build system is broken and so is mock
On 08/03/2016 06:13 PM, Chris Adams wrote:
> Once upon a time, Alice Wonder <alice at domblogger.net> said:
>> Something in the curl build will always link the binary against
>> OpenSSL if the openssl-lib package is present, and will always link
>> the library against OpenSSL if any TLS option is enabled in the
>> configure.
>
> No, it doesn't. You can
2016 Jan 07
1
R for AIX - guidance re: error messages requested
Hi all,
With the bug in tre identified I am trying to move forward - one step at
a time.
As I am getting some errors that prevent make completing with version
3.2.3, and R-devel introduces new issues (that I will face when I get to
them) I would appreciate some guidance with output of "make check" (of
3.1.3) and the final message I run into when trying to build 3.2.3.
Maybe they
2006 Jun 08
1
Problems Building R-2.3.1 on Alpha server ES40 running Tru64 V5.1B PK#5
R Listers,
One of the list contributors suggested I abandon attempts to build
R-1.9.1 and focus on building R-2.3.1. I believe the main set of
packages have been built properly (with some changes to the code) -
however, when building the Recommended packages, the build fails.
CODE CHANGES:
=============
1. My C compiler requires a ";" on line 589 of
..../src/main/printutils.c. Here