Displaying 20 results from an estimated 31 matches for "qhyper".
Did you mean:
hyper
2000 Mar 24
3
quantiles of the hypergeometric distribution (PR#502)
Hello!
I use R-version 1.0.0
To get the 0.95 quantile of the hypergeometric
distribution with the parameters m=45000,n=5000 and
k=600 I use the R-command
> qhyper(0.95,45000,5000,600).
The value obtained is 600. However, the true value
is 552. The latter can be obtained for example by
calling the corresponding distribution function
with the R commands
> x<-540:580
> phyper(x,45000,5000,600)
The value 552 is obtained also by the usual normal...
2006 Mar 28
2
R 2.3.0 (alpha) on FreeBSD 6.1 fails make check-all
Hi Developers,
The alpha, compiles successfully, but it is failing make check-all (on
two seperate machines, both FreeBSD 6.1).
Here is the version string:
platform i386-unknown-freebsd6.1
arch i386
os freebsd6.1
system i386, freebsd6.1
status alpha
major 2
minor 3.0
year 2006
month 03
day 27
svn rev
2008 Aug 21
1
pnmath compilation failure; dylib issue?
...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.4u.sdk/us...
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
2008 Dec 03
1
hypergeometric
...unction.
I did read through the R documentation on hypergeometric but not really
sure what it means.
I would like to evaluate the hypergeometric function as follows:
F((2*alpha+1)/2, (2*alpha+2)/2 , alpha+1/2, betasq/etasq).
I'm not sure which function should be used- either phyper or qhyper or
dhyper
Where
alpha <- .75; beta1 <- 7 ; beta2 <- 5.5;
etasq <- ((beta1+beta2)/(2*beta1*beta2*(1-rho))) ^2
betasq <-
((beta1-beta2)^2+4*beta1*beta2*rho)/(4*beta1^2*beta2^2*(1-rho)^2)
Thank you so much for your help.
[[alternative HTML version deleted]]
2004 Nov 24
1
(PR#7393) Re: dhyper() does not allow non-integer values for
...=
=20
bug in the documentation, which gives no way to tell what the result=20
should mean for non-integer m, n, k.
=09-thomas
> # OK
> dhyper(1,10,90,10)
>
> # NaN
> dhyper(1,10.5,90,10)
>
> # OK
> phyper(1,10,90,10)
> phyper(1,10.5,90,10)
>
> # OK
> qhyper(0.71,10,90,10)
> qhyper(0.71,10.5,90,10)
>
> # OK
> rhyper(1,10,90,10)
> rhyper(1,10.5,90,10)
>
>
>
> # this "naive" version of dhyper() works
>
> dhyperx<-function(x,m,n,k,log=3DFALSE){
> lp<-lchoose(m, x) + lchoose(n, k-x) - lchoose( m...
2009 Mar 17
3
R does not compile any more on FreeBSD 8.0-CURRENT
...lnorm.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 toms708.o wilcox.o signrank.o
ranl...
2004 Feb 04
3
number point under-flow
Hello,
I've come across the following situation in R-1.8.1 (compile + running under
RedHat 7.1):
> phyper(24, 514, 5961-514, 53, lower.tail=T)
[1] 1
> phyper(24, 514, 5961-514, 53, lower.tail=F)
[1] -1.037310e-11
I'd expect the later to be 0 or some very small positive number. Is this a
number under-flow of the calculation? Do you think I'm safe if I just set the
result to 0
1997 Dec 13
1
R-beta: Compile error; R-0.60.1, Solaris 2.6, gcc 2.7.2.1
...amma.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../include -c plnorm.c -o plnorm.o
gcc -g -I../include -c qlnorm.c -o qlnorm.o
gcc -g -I../include -c rlnorm.c -o rlnorm.o
gcc -g -I../include -c dlogis.c -o dlogis.o
gcc -g -I...
1999 May 03
1
problems compiling R-0.63.3 on alpha
...nexact -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../include -I../../src/include -c qhyper.c -o
qhyper.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c rhyper.c -o
rhyper.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c dnbinom.c -o
dnbinom.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c pnbinom.c -o
pnbinom.o
gcc -ieee_with_inexact -g...
1998 Nov 06
1
DEC alpha INSTALLATION R-0.62.4
.../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_with_inexact -g -I../../src/include -c dnbinom.c
cc -ieee_with_inexact -g -I../../src/include -c pnbinom.c
cc -ieee_with_inexact -g -I../../src/include -c qnbinom.c
cc -ieee_with_inexact -g -I../../src/include -c rnbinom.c
cc...
1999 May 03
0
compilation of R-0.63.3 on alpha (PR#183)
...../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../include -I../../src/include -c qhyper.c -=
o =
qhyper.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c rhyper.c -=
o =
rhyper.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c dnbinom.c =
-o =
dnbinom.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c pnbinom.c =
-o =
pnbinom.o
gcc -ieee...
1998 Dec 08
0
R compile problems with AIX
...ude -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 -I../include -I../../src/include -c rhyper.c -o rhyper.o
gcc -g -O2 -I../include -I../../src/include -c dnbinom.c -o dnbinom.o
gcc -g -O2 -I../include -I../../src/include -c pnbinom.c -o pnbinom.o
gcc -g -O2 -I../include -I../../src/include -c qnbinom.c -o qnbinom.o
gcc...
1998 Dec 08
0
R compile problems with AIX
...ude -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 -I../include -I../../src/include -c rhyper.c -o rhyper.o
gcc -g -O2 -I../include -I../../src/include -c dnbinom.c -o dnbinom.o
gcc -g -O2 -I../include -I../../src/include -c pnbinom.c -o pnbinom.o
gcc -g -O2 -I../include -I../../src/include -c qnbinom.c -o qnbinom.o
gcc...
2002 Jan 22
1
compile problem with bessel_i.c on IRIX64 flexor 6.5 10100655 IP35 (uname -a) (PR#1275)
...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 dpois.d from dpois.c
making ppois.d from ppois.c
making qpois.d from qpois.c
making rpois.d from rpois.c
making dweibu...
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)
...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 toms708.o wilcox.o signrank.o*
*ranli...
2001 Jul 25
2
Installation help
...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 dpois.d from dpois.c
making ppois.d from ppois.c
making qpois.d from qpois.c
making rpois.d from rpois.c
making dweibu...
2018 Feb 09
1
R Compilation gets stuck on Windows 64
Please note that building R on Windows is documented in "R Installation
and Administration", including links to external software. Particularly
there is a link to texinfo which is part of Rtools. The documentation is
maintained and it is a sufficient source of information for building R
on Windows.
https://cran.r-project.org/doc/manuals/r-release/R-admin.html
2000 Oct 31
1
conflicting types for `Rf_stirlerr
...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 dpois.d from dpois.c
making ppois.d from ppois.c
making qpois.d from qpois.c
making rpois.d from rpois.c
making dweibu...