Displaying 20 results from an estimated 200 matches similar to: "Selecting Best Regression Equation : leaps() in R and stepwise() in S+"
2010 Mar 26
2
R loop help
Hi,
I am tring to write a loop to compute this,
==========================
x1=c(
rep(-1,4),
rep(1,4)
)
x2=c(
rep(c(-1,-1,1,1),2)
)
x3=c(
rep(c(-1,1),4)
)
x1*x2
x1*x3
x2*x3
========================
suppose i have x1,x2,x3
i want to compute their ' two factor interactions', x1x2,x1x3 and x2x3,
I wrote
========================
for(i in 1:2){
for( j in i+1:3){
xij=c()
2012 Sep 12
3
how to create a substraction matrix (subtract a row of every column from the same row in other columns)
Hello
I have data like this
x1 x2 x3 x4 x5
I want to create a matrix similar to a correlation matrix, but with the
difference between the two values, like this
x1 x2 x3 x4 x5
x1 x2-x1 x3-x1 x4-x1 x5-x1
x2 x3-x2 x4-x2 x5-x2
x3 x4-x3 x5-x3
x4 x5-x4
x5
Then I
2008 Aug 03
0
missing F statistic in anova.gam
Hello,
I have encountered results which I am not sure how to interpret when using anova.gam to compare 2 different models. For certain tests the results do not include an F- or associated p-statistic. This happens when comparing certain models and not others, and I do not discern a patten explaining when the test works and when it does not.
Here is some output for some of my tests (y#, x1, and
2002 May 17
0
options()$warn==2 and try()
Dear R-help folks:
Here is my platform:
> version
platform sparc-sun-solaris2.7
arch sparc
os solaris2.7
system sparc, solaris2.7
status
major 1
minor 5.0
year 2002
month 04
day 29
language R
I have a
2011 Nov 17
1
Vectorizing for weighted distance
Hi All,
I am trying to convert the following piece of matlab code to R:
XX1 = sum(w(:,ones(1,N1)).*X1.*X1,1); #square the elements of X1,
weight it and repeat this vector N1 times
XX2 = sum(w(:,ones(1,N2)).*X2.*X2,1); #square the elements of X2,
weigh and repeat this vector N2 times
X1X2 = (w(:,ones(1,N1)).*X1)'*X2; #get the weighted
'covariance'
2010 Jul 23
2
randomness using runif
I'm working on a problem where I'm introducing random error and have
been using the built in function runif to provide that random error.
However, I realized that I seem to be getting some unexpected behavior
out of the function and was hoping someone could share some insight.
I don't know the runif algorithm at all, but from the behavior I'm
seeing, it seems that whenever I open
2007 Mar 05
4
about find the solution
If I want to find out the soltion of X1,X2
that min(3X1+2X2+X1X2) subject to
20<=X1+3X2<=50
10<=X1
which function or package can I use?
Thanks.
1998 Mar 20
1
R-beta: S+ toolboxes in R?
Hi,
I guess the answer is negative but I thought I would ask just
the same: is it possible to use any of the S+ toolboxes (ARCH
and wavelets, more particularly) with R?
Thanks,
Olivier Lefevre
Union Bank of Switzerland
New York, NY
PS: Please cc me any reply as I am not on the list (at least not yet).
1999 Jul 12
0
Re: S+ code
Dear Mr. Cleland, SEM-ueser, R-User, ...
there isn't s-plus or R (a GNU-free version of the programming language
S) code for structural equation modelling. I always wondered why. I
personally think the language S, with the implementations S+ and R, is a
good-perhaps the best-environment for statistical analyses. Why? It is
object orientated, logical, etc. For example: the code for least
2010 Aug 16
0
Job posting: S+/R Sr. Analytic Consultant
We are looking for an Analytics Consultant to work closely with our
TIBCO Spotfire account management and implementation teams as well as
our development team to provide analytics expertise within a pre and
post sales capacity, proof-of-concept, customer implementation,
methodology development and code development to sharpen our current tool
kit to name a few. This position will require some
2003 Oct 15
0
qqnorm(*, datax=TRUE, xlab,ylab) -- S+ compatibility problem
Just found because an old (written for S+) function of mine did
label plots wrongly with R.
Example --- inspired from example(qqnorm) ---
data(precip)
qqnorm(precip, ylab = "Precipitation [in/yr] ...")
qqnorm(precip, ylab = "Precipitation [in/yr] ...", datax = TRUE)
this is all "fine" -- `datax' is a switch that just switches the
axes but keeps the
2001 Feb 02
1
Finding a gsub like function in S+ 2000
Hello All:
In R 1.2.0, one can easily change characters in a string using, for example,
the following command,
gsub("-"," ",c("1-7-1997","12-21-1997"))
[1] "1 7 1997" "12 21 1997"
Is there a similar command with S+ 2000?
Thank you,
ANDREW
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help
2001 May 14
0
Re: s+
Well, R is not S+ nor SPSS. Although it is sort of similar to S+ in terms of how you use it...
You can get it from http://cran.r-project.org/
To know more about what it really is, you can get my PowerPoint presentation from:
http://www.stat.auckland.ac.nz/~kwan022/pub/R/Introduction/
or and article I wrote from:
http://www.stat.auckland.ac.nz/~kwan022/pub/SDK/SAD/Journal/
If you're a
2003 Jan 14
1
comparing class() -- R=NULL and S+=numeric
I'm just reading Modern Applied Statistics with S, 4th Ed., Venables and
Ribley
I'm typing in their examples in both R and S+. I need insight in the
difference
in the class() statement shown in Chap. 2. Example from book:
> names(powers.of.pi) <- -2:2
> powers.of.pi
-2 -1 0 1 2
0.1013212 0.3183099 1.0000000 3.1415927 9.8696044
>
2003 Jan 15
1
Is R really an open source S+ ?
This is not a criticism. I'm just curious. Is there an effort to keep R
comparable to S+?
Or are the two languages diverging? I am doing what probably legions have
done before me,
and legions will after me...using R on examples from text books written with
S+ code. Most of the
time everything appears to be equivalent. And then there are amazing
divergences in commands. For
instance:
S:
2003 Jun 03
1
S+ style implementation of GAM for R?
Hi,
I've got the R library "mgcv" for GAM written by Simon Wood which works well
in many instances. However, over the years I
got attached to the S+ implementation of GAM which allows loess smoothing in
more than 1 dimension as well as spline smoothing.
Has anyone ported the S+ GAM library to R?
Regards,
Doug Beare.
Fisheries Research Services,
Marine Laboratory,
Victoria Road,
2007 Nov 28
0
6 Courses: Upcoming January-February 2008 R/S+ Course Schedule by XLSolutions Corp
Our January-February 2008 R/S+ course schedule is now available. Please
check out this link for additional information and direct enquiries to Sue
Turner [1]sue at xlsolutions-corp.com Phone: 206 686 1578
Can't see your city? Please email us!
[2]www.xlsolutions-corp.com/courselist.htm
(1) R/S System: Advanced Programming
*** San Francisco / January 24-25, 2008
2008 May 20
0
6 Courses: Upcoming June-July 2008 R/S+ Course Schedule by XLSolutions Corp
Our June-July 2008 R/S+ course schedule is now available. Please check
out this link for additional information and direct enquiries to Sue
Turner sue at xlsolutions-corp.com Phone: 206 686 1578
Can't see your city? Please email us!
www.xlsolutions-corp.com/courselist.htm
(1) R/S System: Advanced Programming
*** San Francisco / July 28-29, 2008 ***
*** Seattle / July 28-29, 2008
2010 Mar 09
0
TIBCO Spotfire 3.1 announced, featuring integration with R & S+
TIBCO Software Inc. today launched TIBCO Spotfire 3.1, the latest
version of its in-memory analytics platform, making predictive analytics
based on R & S+ accessible within Spotfire's visual user experience.
With this release, R & S+ users will be able to share and deploy their
scripts through the Spotfire platform, making advanced analytics
accessible to Business Analysts.
While R
2012 Oct 30
0
R/S+ Courses: Nov 2012 - Melbourne & Sydney
Hi,
SolutionMetrics is presenting R and S+ courses in Melbourne & Sydney - November 2012.
Introduction to R (1 Day)
Introduction to R, Data Import/Export, Data Manipulation, Graphics, Basic Statistical models, writing your own simple functions, efficient programming, avoiding repetitive typing/clicking & file management. More Info<http://bit.ly/VCb1SZ>
Date: 19 Nov, 2012 -