search for: punif

Displaying 20 results from an estimated 29 matches for "punif".

Did you mean: runif
2011 Nov 07
2
Dunif and Punif
...each one equiprobable, and the probability for each one should be 0.1 and not 0.11111 (which is, consistently with the definition, 1/9) It looks like one of the extremes is not considered in the computation of the probability, but then it's assigned a probability anyway. Similar problem with punif. if I do punif(1, min=1, max=10) I get 0 as result, as if the lower extreme is not considered, which is not consistent with the description where min <= x <= max If the lower extreme is not considered because cdf(x) = p(X<x) {and not p(X<=x)} the problem stands in p(X<11) which sh...
2011 Jun 10
3
Test if data uniformly distributed (newbie)
...up ?kolmogorov and found "ks.test", but the example there is for the normal distribution and I am not sure how to adapt it for the uniform distribution. I did ?runif and read about the uniform distribution but it doesn't say what the "cumulative distribution" is. Is it "punif", like "pnorm"? I thought of that because I found a message on this list where someone was told to use "pnorm" instead of "dnorm". But the help page on the uniform distribution says punif is the "distribution function". Are the "cumulative distribut...
2008 Jun 12
3
p-value
Dear R User, say I have this sample of data ( attach with). What i'm going to do is to test whether this data is uniformly distributed or not by finding the p-value. I've tried using the punif command but it gave me the value of 1 of all the data. Any suggestion on R command to find the p-value??Thanks in advance!! Cheers, Anisah -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: midpoint.txt URL: <https://stat.ethz....
2008 Aug 21
1
pnmath compilation failure; dylib issue?
...ax2.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.o qtukey.o qunif.o qweibull.o sign.o stirlerr.o toms708.o -lgomp -F/Library/Frameworks/R.framework/.. - framework R -Wl,-fra...
2006 May 09
4
ks.test one-sample - where can I get a list of the strings specifying the distribution?
Dear all, One can use ks.test(x,y) for a one-sample kolmogorov-smirnov test: x being the data sample y being a string specifying a distribution I notice the help on ks.test does not tell you how to get such a list. Is this a hole in my R knowledge? Where can I get a list of the strings specifying the possible distributions? and more specifically What would be the string and following
2009 Mar 17
3
R does not compile any more on FreeBSD 8.0-CURRENT
...n.o fsign.o imax2.o imin2.o chebyshev.o log1p.o expm1.o lgammacor.o gammalims.o stirlerr.o bd0.o gamma.o lgamma.o gamma_cody.o beta.o lbeta.o polygamma.o bessel_i.o bessel_j.o bessel_k.o bessel_y.o choose.o snorm.o sexp.o dgamma.o pgamma.o qgamma.o rgamma.o dbeta.o pbeta.o qbeta.o rbeta.o dunif.o punif.o qunif.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....
2015 Feb 25
4
DUDA LLENAR MATRIZ CREADA
Buena tarde, Estoy llevando a cabo un trabajo y no encuentro la forma de llenar una matriz con el p_value y un estadístico calculado. Un poco mas detallado, tengo muestras aleatorias, calculo por ejemplo la prueba t, wilcoxon, etc y requiero llevar por una parte los p_value de k muestras a una matriz creada anteriormente y por otro lado el valor del estadístico de las mismas k muestras a otra
2011 Oct 06
2
KS test and theoretical distribution
> x <- runif(100) > y <- runif(100) > ks.test(x,y) Two-sample Kolmogorov-Smirnov test data: x and y D = 0.11, p-value = 0.5806 alternative hypothesis: two-sided ok I expected that, but: > ks.test(runif(100), "runif") One-sample Kolmogorov-Smirnov test data: runif(100) D = 0.9106, p-value < 2.2e-16 alternative hypothesis: two-sided How
1997 Dec 13
1
R-beta: Compile error; R-0.60.1, Solaris 2.6, gcc 2.7.2.1
...../include -c qpois.c -o qpois.o gcc -g -I../include -c rpois.c -o rpois.o gcc -g -I../include -c dt.c -o dt.o gcc -g -I../include -c pt.c -o pt.o gcc -g -I../include -c qt.c -o qt.o gcc -g -I../include -c rt.c -o rt.o gcc -g -I../include -c dunif.c -o dunif.o gcc -g -I../include -c punif.c -o punif.o gcc -g -I../include -c qunif.c -o qunif.o gcc -g -I../include -c runif.c -o runif.o gcc -g -I../include -c dweibull.c -o dweibull.o gcc -g -I../include -c pweibull.c -o pweibull.o gcc -g -I../include -c qweibull.c -o qweibull.o gcc -g -I../include -c rweibull.c -o rweibull....
1999 May 03
1
problems compiling R-0.63.3 on alpha
...th_inexact -g -I../include -I../../src/include -c qbeta.c -o qbeta.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c rbeta.c -o rbeta.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c dunif.c -o dunif.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c punif.c -o punif.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c qunif.c -o qunif.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c runif.c -o runif.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c dnorm.c -o dnorm.o gcc -ieee_with_inexact -g -I../inclu...
1998 Nov 06
1
DEC alpha INSTALLATION R-0.62.4
...rc/include -c dbeta.c cc -ieee_with_inexact -g -I../../src/include -c pbeta.c cc -ieee_with_inexact -g -I../../src/include -c qbeta.c cc -ieee_with_inexact -g -I../../src/include -c rbeta.c cc -ieee_with_inexact -g -I../../src/include -c dunif.c cc -ieee_with_inexact -g -I../../src/include -c punif.c cc -ieee_with_inexact -g -I../../src/include -c qunif.c cc -ieee_with_inexact -g -I../../src/include -c runif.c cc -ieee_with_inexact -g -I../../src/include -c dnorm.c cc -ieee_with_inexact -g -I../../src/include -c pnorm.c cc -ieee_with_inexact -g -I../../src/include -c qnorm.c cc -ieee_wit...
2011 Feb 02
4
testing randomness of random number generators with student t-test?
Hi, subject more or less says it all. I freely admit to not having bothered to find some of the online papers about method of testing the quality of random number generators -- but in an idle moment I wondered what to expect from something like the following: randa<-runif(1000) randb<-runif(1000) t.test(randa,randb)$p.value var.test(randa,randb)$p.value [repeat ad nauseum] Is the
1999 May 03
0
compilation of R-0.63.3 on alpha (PR#183)
...g -I../include -I../../src/include -c qbeta.c -o= = qbeta.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c rbeta.c -o= = rbeta.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c dunif.c -o= = dunif.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c punif.c -o= = punif.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c qunif.c -o= = qunif.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c runif.c -o= = runif.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c dnorm.c -o= = dnorm.o gcc -ieee_with_inexa...
1998 Dec 08
0
R compile problems with AIX
...include -I../../src/include -c pbeta.c -o pbeta.o gcc -g -O2 -I../include -I../../src/include -c qbeta.c -o qbeta.o gcc -g -O2 -I../include -I../../src/include -c rbeta.c -o rbeta.o gcc -g -O2 -I../include -I../../src/include -c dunif.c -o dunif.o gcc -g -O2 -I../include -I../../src/include -c punif.c -o punif.o gcc -g -O2 -I../include -I../../src/include -c qunif.c -o qunif.o gcc -g -O2 -I../include -I../../src/include -c runif.c -o runif.o gcc -g -O2 -I../include -I../../src/include -c dnorm.c -o dnorm.o gcc -g -O2 -I../include -I../../src/include -c pnorm.c -o pnorm.o gcc -g -O2 -I../in...
1998 Dec 08
0
R compile problems with AIX
...include -I../../src/include -c pbeta.c -o pbeta.o gcc -g -O2 -I../include -I../../src/include -c qbeta.c -o qbeta.o gcc -g -O2 -I../include -I../../src/include -c rbeta.c -o rbeta.o gcc -g -O2 -I../include -I../../src/include -c dunif.c -o dunif.o gcc -g -O2 -I../include -I../../src/include -c punif.c -o punif.o gcc -g -O2 -I../include -I../../src/include -c qunif.c -o qunif.o gcc -g -O2 -I../include -I../../src/include -c runif.c -o runif.o gcc -g -O2 -I../include -I../../src/include -c dnorm.c -o dnorm.o gcc -g -O2 -I../include -I../../src/include -c pnorm.c -o pnorm.o gcc -g -O2 -I../in...
2002 Jan 22
1
compile problem with bessel_i.c on IRIX64 flexor 6.5 10100655 IP35 (uname -a) (PR#1275)
...norm.c making sexp.d from sexp.c making dgamma.d from dgamma.c making pgamma.d from pgamma.c making qgamma.d from qgamma.c making rgamma.d from rgamma.c making dbeta.d from dbeta.c making pbeta.d from pbeta.c making qbeta.d from qbeta.c making rbeta.d from rbeta.c making dunif.d from dunif.c making punif.d from punif.c making qunif.d from qunif.c making runif.d from runif.c making dnorm.d from dnorm.c making pnorm.d from pnorm.c making qnorm.d from qnorm.c making rnorm.d from rnorm.c making dlnorm.d from dlnorm.c making plnorm.d from plnorm.c making qlnorm.d from qlnorm.c making rlnorm.d from rlnor...
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)
...ign.o imax2.o imin2.o chebyshev.o log1p.o expm1.o lgammacor.o gammalims.o stirlerr.o bd0.o gamma.o lgamma.o gamma_cody.o beta.o lbeta.o polygamma.o cospi.o bessel_i.o bessel_j.o bessel_k.o bessel_y.o choose.o snorm.o sexp.o dgamma.o pgamma.o qgamma.o rgamma.o dbeta.o pbeta.o qbeta.o rbeta.o dunif.o punif.o qunif.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...
2001 Jul 25
2
Installation help
...norm.c making sexp.d from sexp.c making dgamma.d from dgamma.c making pgamma.d from pgamma.c making qgamma.d from qgamma.c making rgamma.d from rgamma.c making dbeta.d from dbeta.c making pbeta.d from pbeta.c making qbeta.d from qbeta.c making rbeta.d from rbeta.c making dunif.d from dunif.c making punif.d from punif.c making qunif.d from qunif.c making runif.d from runif.c making dnorm.d from dnorm.c making pnorm.d from pnorm.c making qnorm.d from qnorm.c making rnorm.d from rnorm.c making dlnorm.d from dlnorm.c making plnorm.d from plnorm.c making qlnorm.d from qlnorm.c making rlnorm.d from rlnor...
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
2009 Feb 09
11
Choosing a random number between x and y
Hi, Ive been trying to find a function that will allow me to pull out a number between a minimum and maximum threshold. I want a random decimal number between, for example, 0 and 0.5 or 0 and 0.7. I've been searching everywhere for a function that will allow me to do this in R, but I have yet to be successful. Any help would be much appreciated. Thanks in advance -- View this message in