tom soyer
2013-Oct-16 14:54 UTC
[R] Is there something wrong with R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"?
Hi, pnorm(-1.53,0,1) under version 3.0.2 gives 0.05155075. I am pretty sure it should be 0.063. Is there something wrong with this version of R? I am using: R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" Copyright (C) 2013 The R Foundation for Statistical Computing Platform: i686-pc-linux-gnu (32-bit) -- Tom [[alternative HTML version deleted]]
Rich Shepard
2013-Oct-16 15:00 UTC
[R] Is there something wrong with R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"?
On Wed, 16 Oct 2013, tom soyer wrote:> pnorm(-1.53,0,1) under version 3.0.2 gives 0.05155075. I am pretty sure it > should be 0.063. Is there something wrong with this version of R?Tom, Running 3.0.2 here on Slackware:> pnorm(-1.53,0,1)[1] 0.06300836 Rich -- Richard B. Shepard, Ph.D. | Have knowledge, will travel. Applied Ecosystem Services, Inc. | <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
CEO'Riley
2013-Oct-16 15:02 UTC
[R] Is there something wrong with R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"?
Tom, Under that same version on Windows 7, I receive the following:> pnorm(-1.53,0,1)[1] 0.06300836 R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" Copyright (C) 2013 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit) With gratitude, CEO'Riley Jr. Charles Ellis O'Riley Jr. Ambition is a state of permanent dissatisfaction with the present -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of tom soyer Sent: Wednesday, October 16, 2013 9:54 AM To: r-help at r-project.org Subject: [R] Is there something wrong with R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"? Hi, pnorm(-1.53,0,1) under version 3.0.2 gives 0.05155075. I am pretty sure it should be 0.063. Is there something wrong with this version of R? I am using: R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" Copyright (C) 2013 The R Foundation for Statistical Computing Platform: i686-pc-linux-gnu (32-bit) -- Tom [[alternative HTML version deleted]] ______________________________________________ R-help at 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.
peter dalgaard
2013-Oct-16 15:03 UTC
[R] Is there something wrong with R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"?
On Oct 16, 2013, at 16:54 , tom soyer wrote:> Hi, > > pnorm(-1.53,0,1) under version 3.0.2 gives 0.05155075. I am pretty sure it > should be 0.063. Is there something wrong with this version of R?Not on my system (Mac OS X):> pnorm(-1.53,0,1)[1] 0.06300836 But check your typing, and/or eyesight, before blaming R:> pnorm(-1.63,0,1)[1] 0.05155075> pnorm(-1.53,0.1)[1] 0.05155075 -pd> > I am using: > R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" > Copyright (C) 2013 The R Foundation for Statistical Computing > Platform: i686-pc-linux-gnu (32-bit) > > > -- > Tom > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.-- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
Bert Gunter
2013-Oct-16 15:06 UTC
[R] Is there something wrong with R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"?
On both 32 and 64 bit Windows I get .063. -- Bert On Wed, Oct 16, 2013 at 7:54 AM, tom soyer <tom.soyer@gmail.com> wrote:> Hi, > > pnorm(-1.53,0,1) under version 3.0.2 gives 0.05155075. I am pretty sure it > should be 0.063. Is there something wrong with this version of R? > > I am using: > R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" > Copyright (C) 2013 The R Foundation for Statistical Computing > Platform: i686-pc-linux-gnu (32-bit) > > > -- > Tom > > [[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. >-- Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 [[alternative HTML version deleted]]
Duncan Murdoch
2013-Oct-16 15:07 UTC
[R] Is there something wrong with R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"?
On 16/10/2013 10:54 AM, tom soyer wrote:> Hi, > > pnorm(-1.53,0,1) under version 3.0.2 gives 0.05155075. I am pretty sure it > should be 0.063. Is there something wrong with this version of R? > > I am using: > R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" > Copyright (C) 2013 The R Foundation for Statistical Computing > Platform: i686-pc-linux-gnu (32-bit) >I can't reproduce this problem in Windows versions of 3.0.2. I get the result 0.06300836. Are you starting with a clean workspace? If you have your own function called pnorm, it will take precedence. Duncan Murdoch
(Ted Harding)
2013-Oct-16 15:13 UTC
[R] Is there something wrong with R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"?
On 16-Oct-2013 14:54:00 tom soyer wrote:> Hi, > > pnorm(-1.53,0,1) under version 3.0.2 gives 0.05155075. I am pretty sure it > should be 0.063. Is there something wrong with this version of R? > > I am using: > R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" > Copyright (C) 2013 The R Foundation for Statistical Computing > Platform: i686-pc-linux-gnu (32-bit) > -- > TomIf you did exactly as you describe, then something is indeed wrong: pnorm(-1.53,0,1) # [1] 0.06300836 [R version 2.11.0 (2010-04-22)] as you expected. However: qnorm(0.05155075) [1] -1.63 so maybe you mistyped "1.63" instead of "1.53"? ------------------------------------------------- E-Mail: (Ted Harding) <Ted.Harding at wlandres.net> Date: 16-Oct-2013 Time: 16:12:56 This message was sent by XFMail
Jeff Newmiller
2013-Oct-16 15:47 UTC
[R] Is there something wrong with R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"?
I cannot confirm your report. I get 0.63 under 3.0.2 (2013-09-25), x86_64-pc-linux-gnu (64bit), and x686-pc-linux-gnu (32bit). --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity. tom soyer <tom.soyer at gmail.com> wrote:>Hi, > >pnorm(-1.53,0,1) under version 3.0.2 gives 0.05155075. I am pretty sure >it >should be 0.063. Is there something wrong with this version of R? > >I am using: >R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" >Copyright (C) 2013 The R Foundation for Statistical Computing >Platform: i686-pc-linux-gnu (32-bit)