Re: [R] R and SPSS
Jeremy Miles gmail.com> writes: > > I think we'll need some output to know so we can see the differences. (And > data and code would be useful too, if you could provide a small example). Definitely. > > One thought is that the programs might remove a variable that is completely > collinear, but the different programs might remove different variables - so > check that the same variables have been removed. > > Jeremy > Furthermore, with severely collinear models, small numerical differences can make a big difference, either in which variables you choose to remove (e.g. if the variance inflation factors come out as (9.999,10.001) for variables 1 and 2 in one package, but (10.001,9.999) in the other, or in the actual linear algebra (based on technical details of linear algebra and floating-point computations) > On 6 November 2012 13:39, Hui Du dataventures.com> wrote: > > > Hi group: > > > > > > I have a data set, which has severe colinearity problem. While running > > linear regression in R and SPSS, I got different models. I am wondering if > > somebody knows how to make the two software output the same results. (I > > guess the way R and SPSS handling singularity is different, which leads to > > different models.) __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] R and SPSS
I think we'll need some output to know so we can see the differences. (And data and code would be useful too, if you could provide a small example). One thought is that the programs might remove a variable that is completely collinear, but the different programs might remove different variables - so check that the same variables have been removed. Jeremy On 6 November 2012 13:39, Hui Du wrote: > Hi group: > > > I have a data set, which has severe colinearity problem. While running > linear regression in R and SPSS, I got different models. I am wondering if > somebody knows how to make the two software output the same results. (I > guess the way R and SPSS handling singularity is different, which leads to > different models.) > > > Thanks. > > > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] R and SPSS
Hi group: I have a data set, which has severe colinearity problem. While running linear regression in R and SPSS, I got different models. I am wondering if somebody knows how to make the two software output the same results. (I guess the way R and SPSS handling singularity is different, which leads to different models.) Thanks. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] R and SPSS
Thanks all! Tobias Verbeke wrote: > >>There exists a R plug-in for SPSS. You can find it on the SPSS website. > > ... and there is a page on the R wiki: > > http://wiki.r-project.org/rwiki/doku.php?id=tips:callingr:spss > > HTH, > Tobias > >>> I have a code in R. Could anyone give me the best possible way (or just ways!) to integrate it in SPSS? >>> I would doubt you could do this, but for the least "provide commented, >>> minimal, self-contained, reproducible code." It would help if you were >>> more specific. >>> Liviu >>> >>> >>> >>> >>> >> >>-- >>Alain Guillet >>Statistician and Computer Scientist >> >>SMCS - Institut de statistique - Université catholique de Louvain >>Bureau d.126 >>Voie du Roman Pays, 20 >>B-1348 Louvain-la-Neuve >>Belgium >> >>tel: +32 10 47 30 50 >> >> >> [[alternative HTML version deleted]] >> >> > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > -- View this message in context: http://www.nabble.com/R-and-SPSS-tp20708367p20723360.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] R and SPSS
>There exists a R plug-in for SPSS. You can find it on the SPSS website. ... and there is a page on the R wiki: http://wiki.r-project.org/rwiki/doku.php?id=tips:callingr:spss HTH, Tobias >> >>> I have a code in R. Could anyone give me the best possible way (or just >>> ways!) to integrate it in SPSS? >>> >>> >> I would doubt you could do this, but for the least "provide commented, >> minimal, self-contained, reproducible code." It would help if you were >> more specific. >> Liviu >> >> >> >> >> > >-- >Alain Guillet >Statistician and Computer Scientist > >SMCS - Institut de statistique - Université catholique de Louvain >Bureau d.126 >Voie du Roman Pays, 20 >B-1348 Louvain-la-Neuve >Belgium > >tel: +32 10 47 30 50 > > > [[alternative HTML version deleted]] > > __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] R and SPSS
Hi, There exists a R plug-in for SPSS. You can find it on the SPSS website. Hope it helps. Alain Liviu Andronic wrote: > Hello, > > On Wed, Nov 26, 2008 at 9:25 PM, Applejus <[EMAIL PROTECTED]> wrote: > >> I have a code in R. Could anyone give me the best possible way (or just >> ways!) to integrate it in SPSS? >> >> > I would doubt you could do this, but for the least "provide commented, > minimal, self-contained, reproducible code." It would help if you were > more specific. > Liviu > > > > > -- Alain Guillet Statistician and Computer Scientist SMCS - Institut de statistique - Université catholique de Louvain Bureau d.126 Voie du Roman Pays, 20 B-1348 Louvain-la-Neuve Belgium tel: +32 10 47 30 50 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] R and SPSS
On Nov 26, 2008, at 7:57 PM, Andrew Choens wrote: It lets you access R from within SPSS. Best of both worlds. -- Insert something humorous here. :-) OK, I'll bite. "It lets you access R from within SPSS. Best of both worlds." __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] R and SPSS
On Wed, 2008-11-26 at 12:25 -0800, Applejus wrote: > Hi, > > I have a code in R. Could anyone give me the best possible way (or just > ways!) to integrate it in SPSS? > > Thanks! You will need a SPSS registration, but go here and get the SPSS r plugin. http://www.spss.com/devcentral/ It lets you access R from within SPSS. Best of both worlds. -- Insert something humorous here. :-) __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] R and SPSS
Hello, On Wed, Nov 26, 2008 at 9:25 PM, Applejus <[EMAIL PROTECTED]> wrote: > I have a code in R. Could anyone give me the best possible way (or just > ways!) to integrate it in SPSS? > I would doubt you could do this, but for the least "provide commented, minimal, self-contained, reproducible code." It would help if you were more specific. Liviu -- Do you know how to read? http://www.alienetworks.com/srtest.cfm Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] R and SPSS
Hi, I have a code in R. Could anyone give me the best possible way (or just ways!) to integrate it in SPSS? Thanks! -- View this message in context: http://www.nabble.com/R-and-SPSS-tp20708367p20708367.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.