Re: [R] GIS in R vs QGIS

2022-09-08 Thread Ebert,Timothy Aaron
ject.org Subject: [R] GIS in R vs QGIS [External Email] A bit of a philosophical question maybe? I am no expert in R but I feel at home in it. On the other hand I have been wrestling with QGIS, buying books on it, finding online guides etc and I'm still finding it really tricky. F

[R] '[' vs subset() behaviors when filtering a dataframe with NA values

2022-02-19 Thread Fabio D'Agostino
Hi All, I just have two questions since I did not understand the behavior of '[' vs the subset() function when filtering a dataframe that has NA values I was filtering a dataframe named 'weight' according to values of the column named 'weight_rec' ... str(weight) 'data.frame': 17307 obs. of 6 v

Re: [R] R vs Numpy

2021-10-31 Thread Jeff Newmiller
and perhaps make graphs, you can >> get some of both worlds. >> >> As noted, a detailed answer is way beyond here. R has packages that probably >> let you add things and it has too many object-oriented subsystems, most of >> them not complete. >> >> G

Re: [R] R vs Numpy

2021-10-31 Thread Richard O'Keefe
you > can > > get some of both worlds. > > > > As noted, a detailed answer is way beyond here. R has packages that > probably > > let you add things and it has too many object-oriented subsystems, most > of > > them not complete. > > >

Re: [R] R vs Numpy

2021-10-29 Thread Catherine Walt
hings and perhaps make graphs, you can > get some of both worlds. > > As noted, a detailed answer is way beyond here. R has packages that probably > let you add things and it has too many object-oriented subsystems, most of > them not complete. > > Good Luck, > > Avi >

Re: [R] R vs Numpy

2021-10-29 Thread Eric Berger
? including > > advantages or disadvantages. > > > > Thanks. > > > > Perhaps also of interest: > https://github.com/matloff/R-vs.-Python-for-Data-Science > > > -- > Enrico Schumann > Lucerne, Switzerland > http://enricoschumann.net > >

Re: [R] R vs Numpy

2021-10-28 Thread Enrico Schumann
haps also of interest: https://github.com/matloff/R-vs.-Python-for-Data-Science -- Enrico Schumann Lucerne, Switzerland http://enricoschumann.net __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r

Re: [R] R vs Numpy

2021-10-28 Thread Avi Gross via R-help
Walt Sent: Thursday, October 28, 2021 2:57 AM To: r-help@r-project.org Subject: [R] R vs Numpy Hello members, I am familiar with python's Numpy. Now I am looking into R language. What is the main difference between these two languages? including advantages or disadvantages. T

Re: [R] R vs Numpy

2021-10-28 Thread Jeff Newmiller
This is dangerously close to off topic, or at least it could be fuel for divisive argument rather than informed discussion (most readers here might be short on details of NumPy and long on details regarding R). Have you used a search engine? Google found https://www.r-bloggers.com/2011/03/a-sho

Re: [R] R vs Numpy

2021-10-28 Thread J C Nash
https://www.ibm.com/cloud/blog/python-vs-r On 2021-10-28 2:57 a.m., Catherine Walt wrote: Hello members, I am familiar with python's Numpy. Now I am looking into R language. What is the main difference between these two languages? including advantages or disadvantages. Thanks. __

Re: [R] R vs Numpy

2021-10-28 Thread Sorkin, John
28, 2021 2:57 AM To: r-help@r-project.org Subject: [R] R vs Numpy Hello members, I am familiar with python's Numpy. Now I am looking into R language. What is the main difference between these two languages? including advantages or disadvantages. T

[R] R vs Numpy

2021-10-28 Thread Catherine Walt
Hello members, I am familiar with python's Numpy. Now I am looking into R language. What is the main difference between these two languages? including advantages or disadvantages. Thanks. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

Re: [R] install.packages() R vs RStudio

2020-08-17 Thread Abby Spurdle
Duncan Murdoch wrote: > R is designed to be flexible, and to let people change its behaviour. > Using that flexibility is what all users should do. Improving the user > experience is what front-end writers should do. I don't find it > inadvisable at all. Well, that's a big whopping U-turn. Abb

Re: [R] install.packages() R vs RStudio

2020-08-17 Thread John Fox
Hi Duncan, What you say is entirely sensible. Yes, it's primarily the silent part that seems problematic to me. Messages about masking are uninteresting until one encounters a problem, and then they may provide an important clue to the source of the problem. As to this specific case: It's no

Re: [R] install.packages() R vs RStudio

2020-08-17 Thread Duncan Murdoch
Hi John. I suspect most good front ends do similar things. For example, on MacOS, R.app messes up "history()". I've never used ESS, but I imagine one could find examples where it acts differently than base R: isn't that the point? One hopes all differences are improvements, but sometimes

Re: [R] install.packages() R vs RStudio

2020-08-17 Thread John Fox
Dear Duncan, On 2020-08-17 9:03 a.m., Duncan Murdoch wrote: On 17/08/2020 7:54 a.m., Ivan Calandra wrote: Dear useRs, Following the recent activity on the list, I have been made aware of this discussion: https://stat.ethz.ch/pipermail/r-help/2020-May/466788.html I used to install all packages

Re: [R] install.packages() R vs RStudio

2020-08-17 Thread Ivan Calandra
Thank you Duncan for the very detailed and clear answer! Best, Ivan -- Dr. Ivan Calandra TraCEr, laboratory for Traceology and Controlled Experiments MONREPOS Archaeological Research Centre and Museum for Human Behavioural Evolution Schloss Monrepos 56567 Neuwied, Germany +49 (0) 2631 9772-243 ht

Re: [R] install.packages() R vs RStudio

2020-08-17 Thread Duncan Murdoch
On 17/08/2020 7:54 a.m., Ivan Calandra wrote: Dear useRs, Following the recent activity on the list, I have been made aware of this discussion: https://stat.ethz.ch/pipermail/r-help/2020-May/466788.html I used to install all packages in R, but for simplicity (I use RStudio for all purposes), I

[R] install.packages() R vs RStudio

2020-08-17 Thread Ivan Calandra
Dear useRs, Following the recent activity on the list, I have been made aware of this discussion: https://stat.ethz.ch/pipermail/r-help/2020-May/466788.html I used to install all packages in R, but for simplicity (I use RStudio for all purposes), I now do it in RStudio. Now I am left wondering wh

Re: [R] [FORGED] Re: R vs PYTHON vs SAS vs SPSS?

2017-12-03 Thread Jeremie Juste
Rolf Turner writes: > On 01/12/17 20:33, Hasan Diwan wrote: > >> Yes. > > Very true. But some *thinking* is required; that often proves to be a > formidable stumbling block. Or one of the best decision you'll ever take. You cannot master SAS without expensive courses and information does not

Re: [R] [FORGED] Re: R vs PYTHON vs SAS vs SPSS?

2017-12-01 Thread Rolf Turner
On 01/12/17 20:33, Hasan Diwan wrote: Yes. Very true. But some *thinking* is required; that often proves to be a formidable stumbling block. cheers, Rolf Turner On 30 November 2017 at 22:28, wrote: I am a mature learner; 3 masters some doctoral work “ statistics for social sciences

Re: [R] R vs PYTHON vs SAS vs SPSS?

2017-11-30 Thread Hasan Diwan
Yes On 30 November 2017 at 22:28, wrote: > I am a mature learner; 3 masters > some doctoral work “ statistics for social sciences; psychological > statistics “ > worked in spss and sas 2005 – 2006 > now have forgotten ; relearning > my question is this can I do everything in R and Python and SAS

[R] R vs PYTHON vs SAS vs SPSS?

2017-11-30 Thread hotprojects
I am a mature learner; 3 masters some doctoral work “ statistics for social sciences; psychological statistics “ worked in spss and sas 2005 – 2006 now have forgotten ; relearning my question is this can I do everything in R and Python and SAS studio that I did in SPSS and the paid variation of SAS

Re: [R] R vs SPSS - simple effects analysis in mixed 2x2 ANOVA scheme - same data, different results

2016-05-22 Thread Michael Dewey
ttp://stats.stackexchange.com/questions/213592/r-vs-spss-simple-effects-analysis-in-mixed-2x2-anova-scheme-same-data-diffe#> Hello, I prepared a mixed 2x2 ANOVA design analysis both in SPSS and in R. The SPSS script is correct, but in R script there is a mistake somewhere. To test that I generated artificial data

[R] R vs SPSS - simple effects analysis in mixed 2x2 ANOVA scheme - same data, different results

2016-05-22 Thread Michu Kom
down votefavoriteHell <http://stats.stackexchange.com/questions/213592/r-vs-spss-simple-effects-analysis-in-mixed-2x2-anova-scheme-same-data-diffe#> Hello, I prepared a mixed 2x2 ANOVA design analysis both in SPSS and in R. The SPSS script is correct, but in R script there is a mistake som

Re: [R] Ranjan Maitra's comment "Re: Variance is different in R vs. Excel?

2015-02-10 Thread Ranjan Maitra
Wyllys > > > On 02/10/2015 05:00 AM, r-help-requ...@r-project.org wrote: > > ate: Mon, 9 Feb 2015 17:39:14 -0600 > > From: Ranjan Maitra > > To: > > Subject: Re: [R] Variance is different in R vs. Excel? > > Message-ID:<20150209173914.bae4d99ebeadafed35

Re: [R] Ranjan Maitra's comment "Re: Variance is different in R vs. Excel?

2015-02-10 Thread Ronald Wyllys
-help-requ...@r-project.org wrote: ate: Mon, 9 Feb 2015 17:39:14 -0600 From: Ranjan Maitra To: Subject: Re: [R] Variance is different in R vs. Excel? Message-ID:<20150209173914.bae4d99ebeadafed35153...@inbox.com> Content-Type: text/plain; charset="us-ascii" I suspect that this is the

Re: [R] Variance is different in R vs. Excel?

2015-02-09 Thread Ranjan Maitra
exas A&M University > > College Station, TX 77840-4352 > > > > > > -Original Message- > > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Karl Fetter > > Sent: Monday, February 9, 2015 3:33 PM > > To: r-help@r-project.org >

Re: [R] Variance is different in R vs. Excel?

2015-02-09 Thread Ted Harding
Karl Fetter > Sent: Monday, February 9, 2015 3:33 PM > To: r-help@r-project.org > Subject: [R] Variance is different in R vs. Excel? > > Hello everyone, I have a simple question. when I use the var() function in > R to find a variance, it differs greatly from the variance found i

Re: [R] Variance is different in R vs. Excel?

2015-02-09 Thread David L Carlson
A&M University College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Karl Fetter Sent: Monday, February 9, 2015 3:33 PM To: r-help@r-project.org Subject: [R] Variance is different in R vs. Excel? Hello everyone, I have a simple q

[R] Variance is different in R vs. Excel?

2015-02-09 Thread Karl Fetter
Hello everyone, I have a simple question. when I use the var() function in R to find a variance, it differs greatly from the variance found in excel using the =VAR.S function. Any explanations on what those two functions are actually doing? Here is the data and the results: dat<-matrix(c(402,908,

Re: [R] R vs. RStudio?

2015-01-13 Thread Vokey, John
ot;Fraser D. Neiman" > To: R mailing list > Subject: Re: [R] R vs. RStudio? > Message-ID: > <2176ad174d58cb4abbda99f3458c201720713...@granger.monticello.org> > Content-Type: text/plain; charset="us-ascii" > > > In my experience, another negativ

Re: [R] R vs. RStudio?

2015-01-13 Thread Sigbert Klinke
On 12.01.2015 09:01, peter dalgaard wrote: > >> On 11 Jan 2015, at 11:30 , Duncan Murdoch wrote: >> >> >> - I don't like the tiled display. I find it doesn't give me enough space. >> > > This is a mixed blessing. For teaching purposes, it helps avoid shuffling > windows to uncover the editor,

Re: [R] R vs. RStudio?

2015-01-12 Thread C W
iles can take minutes to load and sometimes > >>> crash the session. > >>> > >>> The native R GUI seems to handle this better and I often am forced to > use > >>> it when working remotely. But there is enough other good stuff in > RStudio >

Re: [R] R vs. RStudio?

2015-01-12 Thread Richard M. Heiberger
est files can take minutes to load and sometimes >>> crash the session. >>> >>> The native R GUI seems to handle this better and I often am forced to use >>> it when working remotely. But there is enough other good stuff in RStudio >>> to make this a bummer. >>>

Re: [R] R vs. RStudio?

2015-01-12 Thread Duncan Murdoch
working remotely. But there is enough other good stuff in RStudio >> to make this a bummer. >> >> >> >> >> Fraser >> >> -Original Message- >> From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] >> Sent: Sunday, January 1

Re: [R] R vs. RStudio?

2015-01-12 Thread C W
ch [mailto:murdoch.dun...@gmail.com] > Sent: Sunday, January 11, 2015 5:31 AM > To: Boris Steipe; R mailing list > Subject: Re: [R] R vs. RStudio? > > On 10/01/2015 9:22 PM, Boris Steipe wrote: > > Could someone kindly enlighten me whether there are currently advantages >

Re: [R] R vs. RStudio?

2015-01-12 Thread Fraser D. Neiman
forced to use it when working remotely. But there is enough other good stuff in RStudio to make this a bummer. Fraser -Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: Sunday, January 11, 2015 5:31 AM To: Boris Steipe; R mailing list Subject: Re: [R] R vs

Re: [R] R vs. RStudio?

2015-01-12 Thread John Fox
during a demonstration, often pushing > > the vertical divider far to the right. > > > > Best, > > John > > > >> -Original Message- > >> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of peter > >> dalgaard > >> Sen

Re: [R] R vs. RStudio?

2015-01-12 Thread peter dalgaard
On 12 Jan 2015, at 17:24 , Hadley Wickham wrote: > Is there a reason you don't just click the zoom button? > Hadley Two, I think. One may be a version issue. 1. Some plots will fail if done on the unzoomed device. 2. The zoom featur has a bug (at least on OSX) where it generates a plot that

Re: [R] R vs. RStudio?

2015-01-12 Thread Hadley Wickham
needed during a demonstration, often pushing > the vertical divider far to the right. > > Best, > John > >> -Original Message- >> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of peter >> dalgaard >> Sent: January-12-15 9:00 AM >>

Re: [R] R vs. RStudio?

2015-01-12 Thread John Fox
ilto:r-help-boun...@r-project.org] On Behalf Of peter > dalgaard > Sent: January-12-15 9:00 AM > To: Jeff Newmiller > Cc: R mailing list > Subject: Re: [R] R vs. RStudio? > > > On 12 Jan 2015, at 09:28 , Jeff Newmiller wrote: > > > If you have two screens the "z

Re: [R] R vs. RStudio?

2015-01-12 Thread Hadley Wickham
On Mon, Jan 12, 2015 at 2:01 AM, peter dalgaard wrote: > >> On 11 Jan 2015, at 11:30 , Duncan Murdoch wrote: >> >> >> - I don't like the tiled display. I find it doesn't give me enough space. >> > > This is a mixed blessing. For teaching purposes, it helps avoid shuffling > windows to uncover t

Re: [R] R vs. RStudio?

2015-01-12 Thread peter dalgaard
On 12 Jan 2015, at 09:28 , Jeff Newmiller wrote: > If you have two screens the "zoom" plot window can fill the second screen. > Some laptops can handle a second external screen if you use a docking station. Unfortunately, such luxury is not available in the classroom. All too often, the proje

Re: [R] R vs. RStudio?

2015-01-12 Thread Jeff Newmiller
If you have two screens the "zoom" plot window can fill the second screen. Some laptops can handle a second external screen if you use a docking station. --- Jeff NewmillerThe . . Go

Re: [R] R vs. RStudio?

2015-01-12 Thread peter dalgaard
> On 11 Jan 2015, at 11:30 , Duncan Murdoch wrote: > > > - I don't like the tiled display. I find it doesn't give me enough space. > This is a mixed blessing. For teaching purposes, it helps avoid shuffling windows to uncover the editor, graph window, and terminal in order to demonstrate v

Re: [R] R vs. RStudio?

2015-01-11 Thread Jeff Newmiller
The RStudio editor itself is pretty mediocre. It is the context sensitive tab-completion with as-you type help that sells it to me anyway. That, with debugging and roxygen and knitr support really make it worth looking at. --

Re: [R] R vs. RStudio?

2015-01-11 Thread S Ellison
David Stevens [david.stev...@usu.edu] wrote: > There are other R-friendly editors too. Tinn-R and Notepad++ come to mind. TextPad also has an R syntax file. S Ellison *** This email and any attachments are confidential. Any use...{

Re: [R] R vs. RStudio?

2015-01-11 Thread jwd
On Sat, 10 Jan 2015 21:22:56 -0500 Boris Steipe wrote: > Could someone kindly enlighten me whether there are currently > advantages to use R Studio vs. the normal R GUI? On the Mac I can't > seem to find anything compelling, on Windows (which I don't use > myself) I noticed last year that there s

Re: [R] R vs. RStudio?

2015-01-11 Thread Rick / rrsanbar
I have four years in the R trenches, and code in R on the Ubuntu command line and the Windows R GUI. Here is an RStudio comparative overview: In the absence of Rstudio, to construct and debug a script I need: 1) A programmer's editor (such as VIM (bad) or Bluefish (better)), in which I en

Re: [R] R vs. RStudio?

2015-01-11 Thread David Stevens
There are other R-friendly editors too. Tinn-R and Notepad++ come to mind. On 1/10/2015 11:04 PM, billy am wrote: I concur. Pls try it. -- | http://billyam.com || http://use-r.com || http://shinyserver.com (BET

Re: [R] R vs. RStudio?

2015-01-11 Thread Duncan Murdoch
On 10/01/2015 9:22 PM, Boris Steipe wrote: > Could someone kindly enlighten me whether there are currently advantages to > use R Studio vs. the normal R GUI? On the Mac I can't seem to find anything > compelling, on Windows (which I don't use myself) I noticed last year that > there seems to be

Re: [R] R vs. RStudio?

2015-01-10 Thread billy am
I concur. Pls try it. -- | http://billyam.com || http://use-r.com || http://shinyserver.com (BETA) SAS Certified Base Programmer for SAS 9 Oracle SQL Expert(11g) On Sun, Jan 11, 2015 at 10:47 AM, John Sorkin

Re: [R] R vs. RStudio?

2015-01-10 Thread John Sorkin
I urge you to try it. John John David Sorkin M.D., Ph.D. Professor of Medicine Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology and Geriatric Medicine Baltimore VA Medical Center 10 North Greene Street GRECC (BT/18/GR) Baltimore, MD 21201-152

Re: [R] R vs. RStudio?

2015-01-10 Thread Bert Gunter
That is what websites are for. Go to rstudio.com and make your own judgment . I have found that they provide much useful functionality above and beyond R's bare bones GUI. Bert On Saturday, January 10, 2015, Boris Steipe wrote: > Could someone kindly enlighten me whether there are currently adv

[R] R vs. RStudio?

2015-01-10 Thread Boris Steipe
Could someone kindly enlighten me whether there are currently advantages to use R Studio vs. the normal R GUI? On the Mac I can't seem to find anything compelling, on Windows (which I don't use myself) I noticed last year that there seems to be no syntax highlighting available for the R GUI but

Re: [R] Computational differences in R vs Excel

2013-11-19 Thread David Winsemius
On Nov 19, 2013, at 6:02 AM, S Ellison wrote: >>> For example, i am performing this simple arithmetic: >>>23-(1.346493052*16)+(.663965156*11)+(.008569426*5)-15.23480728 >>> >>> R gives the result --> -6.432232271 > > > My machine (win32, R 3.0.1) gives -6.432232266 > > Something about you

Re: [R] Computational differences in R vs Excel

2013-11-19 Thread S Ellison
> > For example, i am performing this simple arithmetic: > > 23-(1.346493052*16)+(.663965156*11)+(.008569426*5)-15.23480728 > > > > R gives the result --> -6.432232271 My machine (win32, R 3.0.1) gives -6.432232266 Something about your machine, or typing, is different. It shouldn't be R, a

Re: [R] Computational differences in R vs Excel

2013-11-19 Thread Carl Witthoft
anything that can be used to solve this > problem ? > > Please give suggestion if you can. Thanks -- View this message in context: http://r.789695.n4.nabble.com/Computational-differences-in-R-vs-Excel-tp4680726p4680730.html Sent from the R help mailing list archive at Nabble.com. _

Re: [R] R vs octave development strategy (and success)

2013-10-29 Thread peter dalgaard
> David L Carlson > Department of Anthropology > Texas A&M University > College Station, TX 77840-4352 > > -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Federico > Calboli > Sent: Tuesday, O

Re: [R] R vs octave development strategy (and success)

2013-10-29 Thread David Carlson
Sent: Tuesday, October 29, 2013 11:22 AM To: r-help Subject: [R] R vs octave development strategy (and success) Hi All, if memory serves me well I recall some paper comparing the relative success in getting mainstream acceptance (as mainstream as statistics can be) of both R and Octave. I remember vag

[R] R vs octave development strategy (and success)

2013-10-29 Thread Federico Calboli
Hi All, if memory serves me well I recall some paper comparing the relative success in getting mainstream acceptance (as mainstream as statistics can be) of both R and Octave. I remember vaguely that the fact the development strategies (core team vs one main developer) played a major role in t

Re: [R] difference percentile R vs SPSS

2012-11-08 Thread Gerrit Eichner
Hi, David, I think you're confusing the q-th percentile of your data, i. e., the empirical q-th percentile, which is -- roughly -- the value x_q for which q * 100 % of the data are less than or equal to x_q, with the q-th percentile of a distribution (here the normal distribution) that has as

Re: [R] difference percentile R vs SPSS

2012-11-08 Thread Duncan Murdoch
On 12-11-08 7:17 AM, David A. wrote: Dear list, I am calculating the 95th percentile of a set of values with R and with SPSS In R: normal200<-rnorm(200,0,1) qnorm(0.95,mean=mean(normal200),sd=sd(normal200),lower.tail =TRUE) [1] 1.84191 In SPSS, if I use the same 200 values and select Analy

Re: [R] difference percentile R vs SPSS

2012-11-08 Thread Barry Rowlingson
On Thu, Nov 8, 2012 at 12:17 PM, David A. wrote: > In R: > >> normal200<-rnorm(200,0,1) You forgot set.seed(310366) so we can reproduce your random numbers exactly. > I think the main difference is that SPSS only calculates critical values > within the range of values in the data, while R fit

[R] difference percentile R vs SPSS

2012-11-08 Thread David A.
Dear list, I am calculating the 95th percentile of a set of values with R and with SPSS In R: > normal200<-rnorm(200,0,1) > qnorm(0.95,mean=mean(normal200),sd=sd(normal200),lower.tail =TRUE) [1] 1.84191 In SPSS, if I use the same 200 values and select Analyze -> Descriptive Statistics -> Freq

[R] Hearsay -- was R vs SAS

2012-08-08 Thread John C Nash
I would ask contributors to this list to at least note that the sort of FUD (Fear Uncertainty and Doubt) of the type mentioned by the poster is hearsay. Do we have any contractual promises from SAS Inc. or other companies that they will guarantee their software? Have there been documented compen

Re: [R] Weird behaviour of tab characters in a string in R (vs Python)

2011-10-06 Thread R. Michael Weylandt
Things like hard-tabs are usually going to vary by text-editor / GUI. Python is pretty peculiar in its use of tabs, so I wouldn't expect R to replicate. My Matlab license is buggy right now, but I think you'd see similar behavior there, while interactive Ruby gives an autocomplete. I think that hit

[R] Weird behaviour of tab characters in a string in R (vs Python)

2011-10-05 Thread Johnny Paulo
Hello, I wanted to parse some information from a text, where fields are tab separated. When I copy the text into an R session (under emacs) like: mystring <- "field1 field2 field3" the tab character is replaced by a single space! For ex, if I type mystring, I get: "field1 field2 field3" The ta

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-22 Thread Mike Marchywka
lundell > 1982 Econometrica R vs Stata > > > > > > > > > > > > > > > From: rvarad...@jhmi.edu > > To: marchy...@hotmail.com; pda...@gmail.com; alex.ols...@gmail.com > > CC: r-help@r-project.org > &

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-21 Thread Mike Marchywka
derson Blundell > 1982 Econometrica R vs Stata > > Hi, > > I don't think the final verdict has been spoken. Peter's posts have hinted at > ill-conditioning as the crux of the problem. So, I decided to try a couple of > more things: (1) standardizing the covariates,

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-21 Thread Ravi Varadhan
..@gmail.com; alex.ols...@gmail.com Cc: r-help@r-project.org Subject: RE: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata So what was the final verdict on this discussion? I kind of lost track if anyone has a minute to summarize and critique my summary bel

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-12 Thread Mike Marchywka
ation as much as anything). Thanks. > From: rvarad...@jhmi.edu > To: pda...@gmail.com; alex.ols...@gmail.com > Date: Sat, 7 May 2011 11:51:56 -0400 > CC: r-help@r-project.org > Subject: Re: [R] maximum likelihood convergence reproducing Anderson Blundell > 1982 Econometr

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-10 Thread Berend Hasselman
is message in context: http://r.789695.n4.nabble.com/maximum-likelihood-convergence-reproducing-Anderson-Blundell-1982-Econometrica-R-vs-Stata-tp3502516p3512807.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing lis

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-09 Thread Alex Olssen
ters - but since I called all the parameters theta anyway there >> is no need for it.  e1 and e2 are the residuals from the first and >> second equations of the system.  Sigma is a 2x2 matrix which is the >> outer product of the two vectors of residuals. >> >> Kind regards

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-09 Thread peter dalgaard
> > Kind regards, > > Alex > > > > On 9 May 2011 23:12, Mike Marchywka wrote: >> >> >> >> >> >> >> >>> Date: Mon, 9 May 2011 22:06:38 +1200 >>> From: alex.ols...@g

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-09 Thread peter dalgaard
On May 9, 2011, at 13:40 , Alex Olssen wrote: > Hi Mike, > > Mike said > "is this it, page 1559?" > > That is the front page yes, page 15*6*9 has the table, of which the > model labelled 18s is the one I replicated. > However, the R code you posted will at best replicate model 18. For 18s, yo

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-09 Thread Mike Marchywka
> Date: Mon, 9 May 2011 22:06:38 +1200 > From: alex.ols...@gmail.com > To: pda...@gmail.com > CC: r-help@r-project.org; da...@otter-rsch.com > Subject: Re: [R] maximum likelihood convergence reproducing Anderson Blundell > 1982

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-09 Thread Alex Olssen
r-project.org; da...@otter-rsch.com >> Subject: Re: [R] maximum likelihood convergence reproducing Anderson >> Blundell 1982 Econometrica R vs Stata >> >> Peter said >> >> "Ahem! You might get us interested in your problem, but not to the >> level tha

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-09 Thread Alex Olssen
Peter said "Ahem! You might get us interested in your problem, but not to the level that we are going to install Stata and Tsp and actually dig out and study the scientific paper you are talking about. Please cite the results and explain the differences." Apologies Peter, will do, The results wh

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-09 Thread peter dalgaard
On May 9, 2011, at 06:07 , Alex Olssen wrote: > Thank you all for your input. > > Unfortunately my problem is not yet resolved. Before I respond to > individual comments I make a clarification: > > In Stata, using the same likelihood function as above, I can reproduce > EXACTLY (to 3 decimal p

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-08 Thread Alex Olssen
Thank you all for your input. Unfortunately my problem is not yet resolved. Before I respond to individual comments I make a clarification: In Stata, using the same likelihood function as above, I can reproduce EXACTLY (to 3 decimal places or more, which is exactly considering I am using differe

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-07 Thread peter dalgaard
On May 7, 2011, at 17:51 , Ravi Varadhan wrote: > There is something strange in this problem. I think the log-likelihood is > incorrect. See the results below from "optimx". You can get much larger > log-likelihood values than for the exact solution that Peter provided. > > ## model 18 > ln

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-07 Thread Ravi Varadhan
Olssen Cc: r-help@r-project.org Subject: Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata On May 6, 2011, at 14:29 , Alex Olssen wrote: > Dear R-help, > > I am trying to reproduce some results presented in a paper by Anderson > and Blun

Re: [R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-07 Thread peter dalgaard
On May 6, 2011, at 14:29 , Alex Olssen wrote: > Dear R-help, > > I am trying to reproduce some results presented in a paper by Anderson > and Blundell in 1982 in Econometrica using R. > The estimation I want to reproduce concerns maximum likelihood > estimation of a singular equation system. > I

[R] maximum likelihood convergence reproducing Anderson Blundell 1982 Econometrica R vs Stata

2011-05-06 Thread Alex Olssen
Dear R-help, I am trying to reproduce some results presented in a paper by Anderson and Blundell in 1982 in Econometrica using R. The estimation I want to reproduce concerns maximum likelihood estimation of a singular equation system. I can estimate the static model successfully in Stata but for t

Re: [R] nndist R vs. ArcGIS

2011-04-12 Thread smoluka
://r.789695.n4.nabble.com/nndist-R-vs-ArcGIS-tp3442375p3444701.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

Re: [R] nndist R vs. ArcGIS

2011-04-11 Thread Rolf Turner
On 12/04/11 07:32, Barry Rowlingson wrote: On Mon, Apr 11, 2011 at 4:49 PM, smoluka wrote: Can anyone tell me why I would get different average nearest neighbor values for the same set of coordinates between ArcGIS 10 and R? Sometimes the difference in distance is over 1.3 km. Edge correctio

[R] Speeding up "Multinomial Logit"/"Proportional odds model" in R vs stata?

2011-04-11 Thread Tal Galili
Hi all, An R blogger just published a comparison between R and stata for performing: - Multinomial Logit - Proportional odds model - Generalized Logit At: http://ekonometrics.blogspot.com/2011/04/speeding-tickets-for-r-and-stata.html The benchmark used (as mentioned in the comment to t

Re: [R] nndist R vs. ArcGIS

2011-04-11 Thread Barry Rowlingson
On Mon, Apr 11, 2011 at 4:49 PM, smoluka wrote: > Can anyone tell me why I would get different average nearest neighbor values > for the same set of coordinates between ArcGIS 10 and R? Sometimes the > difference in distance is over 1.3 km. Edge correction? In a spatial point pattern, points nea

Re: [R] nndist R vs. ArcGIS

2011-04-11 Thread Seeliger . Curt
Alexis wrote: > Can anyone tell me why I would get different average nearest neighbor values > for the same set of coordinates between ArcGIS 10 and R? Sometimes the > difference in distance is over 1.3 km. spatstat::nndist calculates Euclidean distances rather than distances along the earth's s

[R] nndist R vs. ArcGIS

2011-04-11 Thread smoluka
Can anyone tell me why I would get different average nearest neighbor values for the same set of coordinates between ArcGIS 10 and R? Sometimes the difference in distance is over 1.3 km. Alexis -- View this message in context: http://r.789695.n4.nabble.com/nndist-R-vs-ArcGIS-tp3442375p3442375

Re: [R] Offset in glm poisson using R vs Exposure in Stata

2010-11-16 Thread Columbine Caroline Waring
before this point. Thank you again. Columbine > Date: Tue, 16 Nov 2010 17:47:23 -0500 > From: bbol...@gmail.com > To: caquile...@hotmail.com > CC: r-help@r-project.org > Subject: Re: [R] Offset in glm poisson using R vs Exposure in Stata > > -BEGIN PGP SIGNED MESS

Re: [R] Offset in glm poisson using R vs Exposure in Stata

2010-11-16 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/16/2010 03:08 PM, Columbine Caroline Waring wrote: > Officially I tried: **A** >> glm(count~md+ms+rf+sg+offset(log(Eff)), family=poisson,data=DepthHabGen) >> glm(count~md+ms+rf+sg, offset=(log(Eff)), family=poisson,data=DepthHabGen) > (which of

Re: [R] Offset in glm poisson using R vs Exposure in Stata

2010-11-16 Thread Columbine Caroline Waring
Or perhaps change the link? What would be recommended? Thank you. > To: r-h...@stat.math.ethz.ch > From: bbol...@gmail.com > Date: Tue, 16 Nov 2010 13:16:20 + > Subject: Re: [R] Offset in glm poisson using R vs Exposure in Stata > > Columbine Caroline Waring hotmail.com>

Re: [R] Offset in glm poisson using R vs Exposure in Stata

2010-11-16 Thread Ben Bolker
Columbine Caroline Waring hotmail.com> writes: > I am hoping to find someone who uses both R and program Stata for GLMs. [snip] > What I have is the code from Stata and am trying to reproduce the same analysis in R - my program of choice. > > . glm count md ms rf sg, family(poisson) > e

[R] Offset in glm poisson using R vs Exposure in Stata

2010-11-16 Thread Columbine Caroline Waring
R-helpers, I am hoping to find someone who uses both R and program Stata for GLMs. I am a beginner R user, finding my own way through; learning code etc. at the same time as learning the statistics I need to complete my project. What I have is the code from Stata and am trying to reproduce th

Re: [R] '=' vs '<-'

2010-11-03 Thread Joshua Wiley
@all: Does it seem reasonable to add a discussion of '=' vs. '<-' to the FAQ? It seems a regular question and something of a "hot" topic to debate. @KM Here are links I've accumulated to prior discussions on this topic. I am pretty certain they are all unique. http://blog.revolutionanalytics

Re: [R] '=' vs '<-'

2010-11-03 Thread Barry Rowlingson
On Wed, Nov 3, 2010 at 6:04 PM, km wrote: > Hi all, > > can we use '=' instead of '<-' operator for assignment in R programs? Yes, mostly, you can also use 'help' to ask such questions: > help("=") The operators ‘<-’ and ‘=’ assign into the environment in which they are evaluated. T

Re: [R] '=' vs '<-'

2010-11-03 Thread Doran, Harold
<-' to define the arguments of a function > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of km > Sent: Wednesday, November 03, 2010 2:05 PM > To: r-help@r-project.org > Subject: [R] '=' v

  1   2   >