Re: [R] FW: [Fwd: Re: [S] Exact p-values]

2003-02-14 Thread Spencer Graves
Dear Prof. Ripley: Thanks for your reply. You are absolutely correct. I have only started working with R recently, and I have been absolutely awed by what you all have done with it. Thanks again for your very impressive contributions to the profession, both in your publications and in R. Si

Re: [R] FW: [Fwd: Re: [S] Exact p-values]

2003-02-14 Thread ripley
On Fri, 14 Feb 2003, Spencer Graves wrote: > To understand the correct answer, you need to understand the following: > > > pbinom(1, 2, .5) > [1] 0.75 > > This is the binomial cumulative distribution function. > *** pbinom(0, 2, .5) = 0.25 > *** pbinom(1, 2, .5) = 0.75 = 0.25 + 0.5 > *** pbinom

RE: [R] FW: [Fwd: Re: [S] Exact p-values]

2003-02-14 Thread Christian . Stratowa
Smith > Subject: Re: [R] FW: [Fwd: Re: [S] Exact p-values] > > To understand the correct answer, you need to understand the following: > > > pbinom(1, 2, .5) > [1] 0.75 > > This is the binomial cumulative distribution function. > *** pbinom(0, 2, .5) = 0.25 > *** p

Re: [R] FW: [Fwd: Re: [S] Exact p-values]

2003-02-14 Thread Spencer Graves
To understand the correct answer, you need to understand the following: > pbinom(1, 2, .5) [1] 0.75 This is the binomial cumulative distribution function. *** pbinom(0, 2, .5) = 0.25 *** pbinom(1, 2, .5) = 0.75 = 0.25 + 0.5 *** pbinom(2, 2, .5) = 1 However, pbinom(1e15, 2e15, .5) is a computatio