search for: pgeom

Displaying 20 results from an estimated 34 matches for "pgeom".

Did you mean: geom
2004 Apr 19
2
pgeom accuracy (PR#6792)
Full_Name: Morten Welinder Version: snapshot OS: Submission from: (NULL) (65.213.85.218) This should fix the remaining two 1-p cancellation issues. double l_rt = log1p (-p) * (x + 1); if (log_p) return R_DT_Clog (l_rt); else return lower_tail ? -expm1 (l_rt) : exp (l_rt);
2002 Jul 25
4
src/nmath/pgeom.c (PR#1834)
Full_Name: Morten Welinder Version: 1.5.1 OS: Solaris/Linux Submission from: (NULL) (192.5.35.38) The line return log(1 - p) * (x + 1); looks like it has problems for p near 1. I would suggest rewriting it to return log1p (-p) * (x + 1); -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read
2008 Aug 21
1
pnmath compilation failure; dylib issue?
...amma.o dgeom.o dhyper.o dlnorm.o dlogis.o dnbeta.o dnbinom.o dnchisq.o dnf.o dnorm.o dnt.o dpois.o dt.o dunif.o dweibull.o fmax2.o fmin2.o ftrunc.o gamma.o gamma_cody.o i1mach.o imax2.o imin2.o lbeta.o lgamma.o lgammacor.o mlutils.o pbeta.o pbinom.o pcauchy.o pchisq.o pexp.o pf.o pgamma.o pgeom.o phyper.o plnorm.o plogis.o pnbeta.o pnbinom.o pnchisq.o pnf.o pnmath.o pnorm.o pnt.o polygamma.o ppois.o pt.o ptukey.o punif.o pweibull.o qbeta.o qbinom.o qcauchy.o qchisq.o qexp.o qf.o qgamma.o qgeom.o qhyper.o qlnorm.o qlogis.o qnbeta.o qnbinom.o qnchisq.o qnf.o qnorm.o qnt.o qpois.o qt...
1997 Jul 09
1
R-beta: Problem with `rpois'
There is a problem with `rpois'. It does seem to take care about the order of the arguments. This is an example: > rpois(n=1,lambda=2) [1] 3 > rpois(lambda=2,n=1) [1] 2 0 It obviously uses the first argument as the number of samples to be drawn, which is wrong. I used Version 0.49 Beta (April 23, 1997). Fredrik
1997 Jul 09
1
R-beta: Problem with `rpois'
There is a problem with `rpois'. It does seem to take care about the order of the arguments. This is an example: > rpois(n=1,lambda=2) [1] 3 > rpois(lambda=2,n=1) [1] 2 0 It obviously uses the first argument as the number of samples to be drawn, which is wrong. I used Version 0.49 Beta (April 23, 1997). Fredrik
2005 Jan 04
1
quantiles for geometric distribution
...eometric distribution, there is only one parameter, the probability p. I estimated it by 1/mean(t). Now I plotted the estimated density function by plot(ecdf(t),do.points=FALSE,col.h="blue"); and I would like to add the geometric distribution. This should be possibly with the function pgeom(). Unfortunately I do not understand what is meant by the argument q, "vector of quantiles representing the number of failures in a sequence of Bernoulli trials before success occurs" according to R help. I am familiar with quantiles, but why do I need them here? Does anybody know wha...
2009 Mar 17
3
R does not compile any more on FreeBSD 8.0-CURRENT
...runif.o dnorm.o pnorm.o qnorm.o rnorm.o dlnorm.o plnorm.o qlnorm.o rlnorm.o df.o pf.o qf.o rf.o dnf.o dt.o pt.o qt.o rt.o dnt.o dchisq.o pchisq.o qchisq.o rchisq.o rnchisq.o dbinom.o pbinom.o qbinom.o rbinom.o rmultinom.o dcauchy.o pcauchy.o qcauchy.o rcauchy.o dexp.o pexp.o qexp.o rexp.o dgeom.o pgeom.o qgeom.o rgeom.o dhyper.o phyper.o qhyper.o rhyper.o dnbinom.o pnbinom.o qnbinom.o rnbinom.o dpois.o ppois.o qpois.o rpois.o dweibull.o pweibull.o qweibull.o rweibull.o dlogis.o plogis.o qlogis.o rlogis.o dnchisq.o pnchisq.o qnchisq.o dnbeta.o pnbeta.o qnbeta.o pnf.o pnt.o qnf.o qnt.o ptukey.o...
2004 Jun 21
1
R 1.9.1 is released
...he gnome/GNOME graphics device is deprecated and will be removed in the next full release. BUG FIXES o pbinom(q, N, prob) is now more accurate when prob is close to 0. (PR#6757) o pcauchy(x, .., log.p) is now more accurate for large x, particularly when log.p = TRUE. (PR#6756) o pgeom(q, prob, lower.tail, log.p) is now (sometimes much) more accurate when prob is very small. (PR#6792) The code for pgeom(prob=1) assumed IEEE 754 arithmetic, and gave NaNs under gcc 3.4.0 -fPIC, for example. o makeARIMA() was not handling an ARMA(0, 0) model correctly. o as.Date() was...
2004 Jun 21
1
R 1.9.1 is released
...he gnome/GNOME graphics device is deprecated and will be removed in the next full release. BUG FIXES o pbinom(q, N, prob) is now more accurate when prob is close to 0. (PR#6757) o pcauchy(x, .., log.p) is now more accurate for large x, particularly when log.p = TRUE. (PR#6756) o pgeom(q, prob, lower.tail, log.p) is now (sometimes much) more accurate when prob is very small. (PR#6792) The code for pgeom(prob=1) assumed IEEE 754 arithmetic, and gave NaNs under gcc 3.4.0 -fPIC, for example. o makeARIMA() was not handling an ARMA(0, 0) model correctly. o as.Date() was...
2012 Jul 02
1
Fitting and Plotting the fitted distributions
Dear all, I have wrote some sample code that would allow me easier fit fast many distributions and check which of the fits performs better. My sample code (that you can of course execute it looks like that) distrList<-list(   "exponential",  "geometric", "log-normal",  "normal", "Poisson") fitfunction<-function(Type,x){     return
1997 Dec 13
1
R-beta: Compile error; R-0.60.1, Solaris 2.6, gcc 2.7.2.1
...-o qf.o gcc -g -I../include -c rf.c -o rf.o gcc -g -I../include -c dgamma.c -o dgamma.o gcc -g -I../include -c pgamma.c -o pgamma.o gcc -g -I../include -c qgamma.c -o qgamma.o gcc -g -I../include -c rgamma.c -o rgamma.o gcc -g -I../include -c dgeom.c -o dgeom.o gcc -g -I../include -c pgeom.c -o pgeom.o gcc -g -I../include -c qgeom.c -o qgeom.o gcc -g -I../include -c rgeom.c -o rgeom.o gcc -g -I../include -c dhyper.c -o dhyper.o gcc -g -I../include -c phyper.c -o phyper.o gcc -g -I../include -c qhyper.c -o qhyper.o gcc -g -I../include -c rhyper.c -o rhyper.o gcc -g -I../in...
1997 Jun 25
3
R-alpha: lbeta, ctrl-C and crashes
1. lbeta and beta do not work properly: lbeta returns its first argument and beta gives the lbeta result. In names.c lines 245-6, the codes for these should be 2 and 3 instead of 1 and 2 2. crtl-C does not work (except the first time) on Red Hat elf Linux (which has many many other problems as well) nor on the previous version of Linux for Amiga. It worked on Slackware aout Linux and now works
1997 Jun 25
3
R-alpha: lbeta, ctrl-C and crashes
1. lbeta and beta do not work properly: lbeta returns its first argument and beta gives the lbeta result. In names.c lines 245-6, the codes for these should be 2 and 3 instead of 1 and 2 2. crtl-C does not work (except the first time) on Red Hat elf Linux (which has many many other problems as well) nor on the previous version of Linux for Amiga. It worked on Slackware aout Linux and now works
1999 May 03
1
problems compiling R-0.63.3 on alpha
...eee_with_inexact -g -I../include -I../../src/include -c qexp.c -o qexp.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c rexp.c -o rexp.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c dgeom.c -o dgeom.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c pgeom.c -o pgeom.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c qgeom.c -o qgeom.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c rgeom.c -o rgeom.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c dhyper.c -o dhyper.o gcc -ieee_with_inexact -g -I../inc...
1998 Nov 06
1
DEC alpha INSTALLATION R-0.62.4
...../src/include -c dexp.c cc -ieee_with_inexact -g -I../../src/include -c pexp.c cc -ieee_with_inexact -g -I../../src/include -c qexp.c cc -ieee_with_inexact -g -I../../src/include -c rexp.c cc -ieee_with_inexact -g -I../../src/include -c dgeom.c cc -ieee_with_inexact -g -I../../src/include -c pgeom.c cc -ieee_with_inexact -g -I../../src/include -c qgeom.c cc -ieee_with_inexact -g -I../../src/include -c rgeom.c cc -ieee_with_inexact -g -I../../src/include -c dhyper.c cc -ieee_with_inexact -g -I../../src/include -c phyper.c cc -ieee_with_inexact -g -I../../src/include -c qhyper.c cc -ieee_...
1999 May 03
0
compilation of R-0.63.3 on alpha (PR#183)
..._inexact -g -I../include -I../../src/include -c qexp.c -o = qexp.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c rexp.c -o = rexp.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c dgeom.c -o= = dgeom.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c pgeom.c -o= = pgeom.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c qgeom.c -o= = qgeom.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c rgeom.c -o= = rgeom.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c dhyper.c -= o = dhyper.o gcc -ieee_with_ine...
1998 Dec 08
0
R compile problems with AIX
...-I../include -I../../src/include -c pexp.c -o pexp.o gcc -g -O2 -I../include -I../../src/include -c qexp.c -o qexp.o gcc -g -O2 -I../include -I../../src/include -c rexp.c -o rexp.o gcc -g -O2 -I../include -I../../src/include -c dgeom.c -o dgeom.o gcc -g -O2 -I../include -I../../src/include -c pgeom.c -o pgeom.o gcc -g -O2 -I../include -I../../src/include -c qgeom.c -o qgeom.o gcc -g -O2 -I../include -I../../src/include -c rgeom.c -o rgeom.o gcc -g -O2 -I../include -I../../src/include -c dhyper.c -o dhyper.o gcc -g -O2 -I../include -I../../src/include -c phyper.c -o phyper.o gcc -g -O2 -I....
1998 Dec 08
0
R compile problems with AIX
...-I../include -I../../src/include -c pexp.c -o pexp.o gcc -g -O2 -I../include -I../../src/include -c qexp.c -o qexp.o gcc -g -O2 -I../include -I../../src/include -c rexp.c -o rexp.o gcc -g -O2 -I../include -I../../src/include -c dgeom.c -o dgeom.o gcc -g -O2 -I../include -I../../src/include -c pgeom.c -o pgeom.o gcc -g -O2 -I../include -I../../src/include -c qgeom.c -o qgeom.o gcc -g -O2 -I../include -I../../src/include -c rgeom.c -o rgeom.o gcc -g -O2 -I../include -I../../src/include -c dhyper.c -o dhyper.o gcc -g -O2 -I../include -I../../src/include -c phyper.c -o phyper.o gcc -g -O2 -I....
2002 Jan 22
1
compile problem with bessel_i.c on IRIX64 flexor 6.5 10100655 IP35 (uname -a) (PR#1275)
....c making rbinom.d from rbinom.c making dcauchy.d from dcauchy.c making pcauchy.d from pcauchy.c making qcauchy.d from qcauchy.c making rcauchy.d from rcauchy.c making dexp.d from dexp.c making pexp.d from pexp.c making qexp.d from qexp.c making rexp.d from rexp.c making dgeom.d from dgeom.c making pgeom.d from pgeom.c making qgeom.d from qgeom.c making rgeom.d from rgeom.c making dhyper.d from dhyper.c making phyper.d from phyper.c making qhyper.d from qhyper.c making rhyper.d from rhyper.c making dnbinom.d from dnbinom.c making pnbinom.d from pnbinom.c making qnbinom.d from qnbinom.c making rnbin...
2017 Aug 18
4
No rule to make target all.R, needed by compiler.rdb building R 3.4.1 from source, Scientific Linux release 6.9 (Carbon)
...o runif.o dnorm.o pnorm.o qnorm.o rnorm.o dlnorm.o plnorm.o qlnorm.o rlnorm.o df.o pf.o qf.o rf.o dnf.o dt.o pt.o qt.o rt.o dnt.o dchisq.o pchisq.o qchisq.o rchisq.o rnchisq.o dbinom.o pbinom.o qbinom.o rbinom.o rmultinom.o dcauchy.o pcauchy.o qcauchy.o rcauchy.o dexp.o pexp.o qexp.o rexp.o dgeom.o pgeom.o qgeom.o rgeom.o dhyper.o phyper.o qhyper.o rhyper.o dnbinom.o pnbinom.o qnbinom.o rnbinom.o dpois.o ppois.o qpois.o rpois.o dweibull.o pweibull.o qweibull.o rweibull.o dlogis.o plogis.o qlogis.o rlogis.o dnchisq.o pnchisq.o qnchisq.o dnbeta.o pnbeta.o qnbeta.o pnf.o pnt.o qnf.o qnt.o ptukey.o qtu...