search for: qlnorm

Displaying 20 results from an estimated 31 matches for "qlnorm".

Did you mean: rlnorm
2011 Jul 30
2
NAN problem
Hi All, Did anyone else have a problem like this? I am sorry if its a small issue, I seem to not understand what to do to get rid of this error. > Sigma [1] 0.1939025 > MuRest [1] 8.512772 > TauZero [1] 0.1 > curve(qlnorm(x,-TauZero+MuRest, Sigma,lower.tail=F), xlim=c(4000,9000), ylim=c(0,.99),xlab="", ylab="") Warning message: In qlnorm(p, meanlog, sdlog, lower.tail, log.p) : NaNs produced Thanks in advance for the help. Best, Vishal [[alternative HTML version deleted]]
2008 May 29
1
Bimodal Distribution
Hello R Users, I am doing a Latin Hypercube type simulation. I have found the improvedLHS function and have used it to generate a bunch of properly distributed uniform probabilities. Now I am using functions like qlnorm to transform that into the appropriately lognormal or triangularly distributed parameters for my modes. However I have a parameter which I believe is bimodally distributed, could someone please point me at an appropriate function equivalent to qlnorm which I can use, because for some reason I...
2007 Mar 28
2
fitting data with conditions
Mich besch?ftig folgende Fragestellung. Ich kenne die Verteilung (lognormal) zus?tzlich weiss ich das 99%, das 90% und das 1% Quantil. Gibt es in R eine M?glichkeit die Lognormalverteilung zu finden, das heisst den korrespondierenden logmean und logsd? Vielen Dank f?r ihre Hilfe Gruss Yvonne
2008 Aug 21
1
pnmath compilation failure; dylib issue?
....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/usr/local/...
2017 Jul 15
2
One Dimensional Monte Carlo Simulation
...{ > claims1<-0 > claims2<-0 > claims3<-0 > claims4<-0 > claims5<-0 > claims6<-0 > claims7<-0 > claims<-c(claims1,claims2,claims3,claims4,claims5,claims6,claims7) > freq<-(qpois(runif(1),lambda.risk)) > sev<-pmin(L,pmax(0,(qlnorm(runif(1),scale,shape)-R))) > if(freq>=1){claims1<-sev} > sev<-pmin(L,pmax(0,(qlnorm(runif(1),scale,shape)-R))) > if(freq>=2){claims2<-sev} > sev<-pmin(L,pmax(0,(qlnorm(runif(1),scale,shape)-R))) > if (freq>=3) {claims3<-sev} > sev<-pmin(L,pma...
2017 Aug 01
0
One Dimensional Monte Carlo Simulation
...{ >? claims1<-0 >? claims2<-0 >? claims3<-0 >? claims4<-0 >? claims5<-0 > claims6<-0 >? claims7<-0 >? claims<-c(claims1,claims2,claims3,claims4,claims5,claims6,claims7) >? freq<-(qpois(runif(1),lambda.risk)) >? sev<-pmin(L,pmax(0,(qlnorm(runif(1),scale,shape)-R))) >? if(freq>=1){claims1<-sev} >? sev<-pmin(L,pmax(0,(qlnorm(runif(1),scale,shape)-R))) >? if(freq>=2){claims2<-sev} >? sev<-pmin(L,pmax(0,(qlnorm(runif(1),scale,shape)-R))) >? if (freq>=3) {claims3<-sev} >? sev<-pmin(L,pma...
2009 Mar 17
3
R does not compile any more on FreeBSD 8.0-CURRENT
...ims.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.o dgeom.o pgeom.o qgeom.o rgeom.o dhyper.o phyper.o qhyper.o rhyper.o dnbin...
2012 Sep 29
5
Generating by inverting function
Hello, I am trying to generate random survival times by inverting the function,  S(t)= exp(b*F(t)), where b is constant and F(t) is some cumulative distribution function, let say that F(t) is cdf of normal distribution or any others distributions.   as we know that S(t) has uniform distribution on  (0,1) so we can write that U= exp(b*F(t)), where U is uniform (0,1). Now to generat the time t, we
2003 Aug 28
2
ks.test()
...a,b=b), lty = lty,col="red")} result <- list(mu=mu,sigma=sigma,b=b) class(result) <- "lnormt" result} dlnormt<-function(x,mu,sigma,b) dlnorm(x-b,meanlog=mu,sdlog=sigma) plnormt<-function(x,mu,sigma,b) plnorm(x-b,meanlog=mu,sdlog=sigma) qlnormt<-function(p,mu,sigma,b) qlnorm(p,meanlog=mu,sdlog=sigma)+b rlnormt<-function(n,mu,sigma,b) rlnorm(n,meanlog=mu,sdlog=sigma)+b ############### # [2] COMMANDS ############### # EXP tmp <- exptfit(data,b=30) ks.test(data,"pexpt",lambda=tmp$lambda,b=tmp$b) # Article: D= 0.2599 pva...
2008 Sep 15
0
how to calculate PPCC?
...if these functions are correct? Are there other ways to estimate the correlation coefficient? /PPCCNORM <- function(x,mean,sd) { x <- sort(x) pp <- ppoints(x) cor(qnorm(pp,mean=mean,sd=sd),x) } PPCCLOG <- function(x,mean,sd) { x <- sort(x) pp <- ppoints(x) cor(qlnorm(pp,meanlog=mean,sdlog=sd),x) } PPCCPOIS <- function(x,lambda) { x <- sort(x) pp <- ppoints(x) cor(qpois(pp,lambda=lambda),x) } PPCCEXP <- function(x,rate) { x <- sort(x) pp <- ppoints(x) cor(qexp(pp,rate=rate),x) }/ Thanks in advanced, [[alternative HTML vers...
2009 Feb 13
0
The effect of MLE and MME to probability of rejection
...or (MME) effect probability of rejection, p. My MLE is x=rlnorm(10,meanlog = 2, sdlog =5) x xbar=mean(x) ssqrt=var(x) xbar ssqrt #MLE y=log(x) m1=mean(y) s1=var(y) m1 s1 #MME m2=log(xbar^2/sqrt(ssqrt+xbar^2)) s2 = log((ssqrt+xbar^2)/xbar^2) m2 s2 If I want to use "qlnorm(..)" , where can I plug the above estimators into this function. Regards Wa Wrathall [[alternative HTML version deleted]]
1997 Dec 13
1
R-beta: Compile error; R-0.60.1, Solaris 2.6, gcc 2.7.2.1
...cc -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../include -c plogis.c -o plogis.o gcc -g -I../include -c qlogis.c -o qlogis.o gcc -g -I../include -c rlogis.c -o rlogis.o gcc -g -I../include -c dnbinom.c -o dnbinom.o gcc -g...
2006 Feb 01
1
Difficulty with qqline in logarithmic context
Hi, R friends. I had some difficulty with the following code: qqnorm(freq, log='y') qqline(freq) as the line drawn was seemingly random. The exact data I used appears below. After wandering a bit within the source code for "abline", I figured out I should rather write: qqnorm(freq, log='y') par(ylog=FALSE) qqline(log10(freq)) par(ylog=TRUE)
1999 May 03
1
problems compiling R-0.63.3 on alpha
...nexact -g -I../include -I../../src/include -c rnorm.c -o rnorm.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c dlnorm.c -o dlnorm.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c plnorm.c -o plnorm.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c qlnorm.c -o qlnorm.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c rlnorm.c -o rlnorm.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c df.c -o df.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c pf.c -o pf.o gcc -ieee_with_inexact -g -I../include -I../../...
1998 Nov 06
1
DEC alpha INSTALLATION R-0.62.4
.../include -c pnorm.c cc -ieee_with_inexact -g -I../../src/include -c qnorm.c cc -ieee_with_inexact -g -I../../src/include -c rnorm.c cc -ieee_with_inexact -g -I../../src/include -c dlnorm.c cc -ieee_with_inexact -g -I../../src/include -c plnorm.c cc -ieee_with_inexact -g -I../../src/include -c qlnorm.c cc -ieee_with_inexact -g -I../../src/include -c rlnorm.c cc -ieee_with_inexact -g -I../../src/include -c df.c cc -ieee_with_inexact -g -I../../src/include -c pf.c cc -ieee_with_inexact -g -I../../src/include -c qf.c cc -ieee_with_inexact -g -I../../src/include -c rf.c cc -ieee_with_inexact -...
1999 May 03
0
compilation of R-0.63.3 on alpha (PR#183)
...../include -I../../src/include -c rnorm.c -o= = rnorm.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c dlnorm.c -= o = dlnorm.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c plnorm.c -= o = plnorm.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c qlnorm.c -= o = qlnorm.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c rlnorm.c -= o = rlnorm.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c df.c -o df= =2Eo gcc -ieee_with_inexact -g -I../include -I../../src/include -c pf.c -o pf= =2Eo gcc -ieee_with_inexact -g -I../...
1998 Dec 08
0
R compile problems with AIX
...ude -I../../src/include -c qnorm.c -o qnorm.o gcc -g -O2 -I../include -I../../src/include -c rnorm.c -o rnorm.o gcc -g -O2 -I../include -I../../src/include -c dlnorm.c -o dlnorm.o gcc -g -O2 -I../include -I../../src/include -c plnorm.c -o plnorm.o gcc -g -O2 -I../include -I../../src/include -c qlnorm.c -o qlnorm.o gcc -g -O2 -I../include -I../../src/include -c rlnorm.c -o rlnorm.o gcc -g -O2 -I../include -I../../src/include -c df.c -o df.o gcc -g -O2 -I../include -I../../src/include -c pf.c -o pf.o gcc -g -O2 -I../include -I../../src/include -c qf.c -o qf.o gcc -g -O2 -I../include -I../../s...
1998 Dec 08
0
R compile problems with AIX
...ude -I../../src/include -c qnorm.c -o qnorm.o gcc -g -O2 -I../include -I../../src/include -c rnorm.c -o rnorm.o gcc -g -O2 -I../include -I../../src/include -c dlnorm.c -o dlnorm.o gcc -g -O2 -I../include -I../../src/include -c plnorm.c -o plnorm.o gcc -g -O2 -I../include -I../../src/include -c qlnorm.c -o qlnorm.o gcc -g -O2 -I../include -I../../src/include -c rlnorm.c -o rlnorm.o gcc -g -O2 -I../include -I../../src/include -c df.c -o df.o gcc -g -O2 -I../include -I../../src/include -c pf.c -o pf.o gcc -g -O2 -I../include -I../../src/include -c qf.c -o qf.o gcc -g -O2 -I../include -I../../s...
2002 Jan 22
1
compile problem with bessel_i.c on IRIX64 flexor 6.5 10100655 IP35 (uname -a) (PR#1275)
...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 rlnorm.c making df.d from df.c making pf.d from pf.c making qf.d from qf.c making rf.d from rf.c making dt.d from dt.c making pt.d from pt.c making qt.d from qt.c making rt.d from rt.c making dchisq.d from dchisq.c making pchisq.d from pchisq.c making qchisq.d f...
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)
...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 dgeom.o pgeom.o qgeom.o rgeom.o dhyper.o phyper.o qhyper.o rhyper.o dnbino...