Displaying 20 results from an estimated 36 matches for "qgeom".
Did you mean:
geom
2009 Mar 08
1
typo in qpois help (PR#13583)
Full_Name: Manikandan Narayanan
Version: 2.8.1
OS: Linux
Submission from: (NULL) (155.91.45.231)
Here is an excerpt from qpois help page (?qpois):
The quantile is left continuous: 'qgeom(q, prob)' is the largest
integer x such that P(X <= x) < q.
I think the "qgeom" here should be "qpois" instead. Please correct this typo
in ?qpois, since it's misleading in its current form.
Thanks!
2000 May 12
1
Geometric Distribution at prob=c(0,1)
...he trail that an event occurs, with a constant probability
p (or prob). Contrary to R, my textbooks have x = 1, 2, 3, ...
My intuition says that with this interpretation, a probability of 0 means
that the event just won''t happen, and consequently rgeom(1,prob=0) should
always return Inf. qgeom() seems to agree:
> qgeom(1,1)
[1] Inf
rgeom(1,prob=1) says to me that the event must occur on the first trail,
and with x = 0, 1, 2, ..., that means it should return 0. Here,
> qgeom(0,0)
[1] NaN
Warning message:
NaNs produced in: qgeom(p, prob, lower.tail, log.p)
Is it my intuition tha...
2008 Aug 21
1
pnmath compilation failure; dylib issue?
...gamma.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.o qtukey.o qunif.o qweibull.o sign.o
stirlerr.o toms708.o -lgomp -F/Library/Frameworks/R.framework/.. -
framework R -Wl,-framework -Wl,CoreFoundation
ld: warning, duplicate dylib /Developer/SDKs/MacOSX10....
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
2012 Jun 28
1
An extreme quantile of the geometric distribution
Hi,
With R version 2.10.0 (2009-10-26) on Windows, I computed the p=1.e-20
quantile of the geometric distribution with parameter prob=0.1.
> qgeom(1.e-20,0.1)
[1] -1
But this is not possible, since X=0,1,2,...
I guess that this might be a bug in the quantile function, which should
use the log1p function, instead of the naive formula.
Am I correct ?
Best regards,
Micha?l
2009 Mar 17
3
R does not compile any more on FreeBSD 8.0-CURRENT
...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 qtukey.o...
1997 Dec 13
1
R-beta: Compile error; R-0.60.1, Solaris 2.6, gcc 2.7.2.1
....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../include -c dlnorm.c -o dlnorm.o
gcc -g -I../...
2004 Aug 10
0
Check failed after compilation (PR#7159)
...1))
[1] 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
>
>
>
> cleanEx(); ..nameEx <- "Geometric"
>
> ### * Geometric
>
> flush(stderr()); flush(stdout())
>
> ### Name: Geometric
> ### Title: The Geometric Distribution
> ### Aliases: Geometric dgeom pgeom qgeom rgeom
> ### Keywords: distribution
>
> ### ** Examples
>
> qgeom((1:9)/10, prob = .2)
[1] 0 0 1 2 3 4 5 7 10
> Ni <- rgeom(20, prob = 1/4); table(factor(Ni, 0:max(Ni)))
0 1 2 3 4 5 6 7 8 9 10 11
5 3 3 1 2 2 0 1 0 1 1 1
>
>
>
> c...
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
..._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../include -I../../src/include -c phyper.c -o
phyper.o
gcc -ieee_with_inexact -g -I../i...
1998 Nov 06
1
DEC alpha INSTALLATION R-0.62.4
..../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_with_inexact -g -I../../src/include -c rhyper.c
cc -ieee...
1999 Oct 06
1
R-0.65.1 is released
...ncated doubles and so
gave machine-dependent results on the examples. It now rounds.
o cat() now admits again that it can't handle lists instead of
"random" segfaulting.
o More accurate rounding (including rounding to even) on platforms
without rint (e.g. Windows).
o qgeom() is now left-continuous with a tolerance, and so the
example on the help page will be platform-independent.
o pretty() has been changed to use tolerance around integers and
so will be more platform-independent. The exact output has
probably changed on all platforms for some input.
o i...
1999 Oct 06
1
R-0.65.1 is released
...ncated doubles and so
gave machine-dependent results on the examples. It now rounds.
o cat() now admits again that it can't handle lists instead of
"random" segfaulting.
o More accurate rounding (including rounding to even) on platforms
without rint (e.g. Windows).
o qgeom() is now left-continuous with a tolerance, and so the
example on the help page will be platform-independent.
o pretty() has been changed to use tolerance around integers and
so will be more platform-independent. The exact output has
probably changed on all platforms for some input.
o i...
1999 May 03
0
compilation of R-0.63.3 on alpha (PR#183)
...act -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../include -I../../src/include -c phyper.c -=
o =
phyper.o
gcc -ieee_with_i...
1998 Dec 08
0
R compile problems with AIX
...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../include -I../../src/include -c qhyper.c -o qhyper.o
gcc -g -O2 -...
1998 Dec 08
0
R compile problems with AIX
...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../include -I../../src/include -c qhyper.c -o qhyper.o
gcc -g -O2 -...
2002 Jan 22
1
compile problem with bessel_i.c on IRIX64 flexor 6.5 10100655 IP35 (uname -a) (PR#1275)
...om.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 rnbinom.d from rnbinom.c
making d...
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
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 qtukey.o to...