Displaying 20 results from an estimated 2000 matches similar to: "infelicity in dlnorm, plnorm"
2010 Jan 12
1
Strange behavior when trying to piggyback off of "fitdistr"
Hello.
I am not certain even how to search the archives for this particular question, so if there is an obvious answer, please smack me with a large halibut and send me to the URLs.
I have been experimenting with fitting curves by using both maximum likelihood and maximum spacing estimation techniques. Originally, I have been writing distribution-specific functions in 'R' which work
2008 Aug 21
1
pnmath compilation failure; dylib issue?
(1) ...need to speed up a monte-carlo sampling...any suggestions about
how I can get R to use all 8 cores of a mac pro would be most useful
and very appreciated...
(2) spent the last few hours trying to get pnmath to compile under os-
x 10.5.4...
using gcc version 4.2.1 (Apple Inc. build 5553) as downloaded from
CRAN, xcode 3.0...
...xcode 3.1 installed over top of above after
2010 Apr 28
0
Truncated Lognormal Distribution
Hi!
I have following data which is left truncated say at 10. I am trying to estimate the parameters of the Truncated Lognormal distribution to this data as given below.
(I have referred to R code appearing in an earlier post - http://finzi.psych.upenn.edu/Rhelp10/2008-October/176136.html)
library(MASS)
x <- c(600.62,153.05,70.26,530.42,3440.29,97.45,174.51,168.47, 116.63,36.51, 219.77,
2002 Jul 12
1
Minor bug in dlnorm (PR#1781)
The density of a lognormal should be 0 for negative arguments, but
> dlnorm(-1)
[1] NaN
Warning message:
NaNs produced in: dlnorm(x, meanlog, sdlog, log)
A simple fix is to change dlnorm's definition to:
function (x, meanlog = 0, sdlog = 1, log = FALSE)
.Internal(dlnorm(x*(x>0), meanlog, sdlog, log))
It might be faster to put the same sort of adjustment into the
internal code, but
2017 Jul 05
0
bug with dlnorm
I've found some funny behavior in the dlnorm() function that I believe to be a bug. For example, the following command:
> dlnorm( c(5e-323, 5e-324, 5e-325), 0, 0.3 )
Produces the output below, including the NaN value that should (ideally would be) zero.
[1] 0 NaN 0
Warning message:
In dlnorm(c(4.94065645841247e-323, 4.94065645841247e-324, 0), 0, :
NaNs produced
Calling the log()
2005 Mar 12
1
MLE for two random variables
Hello,
I've the following setting:
(1) Data from a source without truncation (x)
(2) Data from an other source with left-truncation at threshold u (xu)
I have to fit a model on these these two sources, thereby I assume that both
are "drawn" from the same distribution (eg lognormal). In a MLE I would sum
the densities and maximize. The R-Function could be:
1997 Dec 13
1
R-beta: Compile error; R-0.60.1, Solaris 2.6, gcc 2.7.2.1
Hi!
I have just downloaded the R-0.60.1 sources and have problems compiling R
on a Sun Ultra 1 running Solaris 2.6 and gcc 2.7.2.1.
I have not been able to find to find any compiling hints in the
documentation or the FAQ.
After ./configure I use make and get the output below.
Any hints are welcome.
I am not on the list, so please answer me directly too.
Best regards
Jens
---
Jens Lund
2008 Nov 14
0
Error in optim when i call it from a function
Dear R-users
I've got the next problem:
I've got this *function*:
fitcond=function(x,densfun,pcorte,start,...){
myfn <- function(parm,x,pcorte,...) -sum(log(dens(parm,x,pcorte,...)))
Call <- match.call(expand.dots = TRUE)
if (missing(start))
start <- NULL
dots <- names(list(...))
dots <- dots[!is.element(dots, c("upper",
2009 May 16
1
maxLik pakage
Hi all;
I recently have been used 'maxLik' function for maximizing G2StNV178 function with gradient function gradlik; for receiving this goal, I write the following program; but I have been seen an error in calling gradient function;
The maxLik function can't enter gradlik function (definition of gradient function); I guess my mistake is in line ******** ,that the vector ‘h’ is
2009 Mar 17
3
R does not compile any more on FreeBSD 8.0-CURRENT
On a recent FreeBSD 8.0-CURRENT (i386) building R (any version) breaks
with the following messages:
----------------------------------------------------------------------
[...snip...]
gcc -std=gnu99 -I. -I../../src/include -I../../src/include
-I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c wilcox.c -o wilcox.o
gcc -std=gnu99 -I. -I../../src/include -I../../src/include
-I/usr/local/include
2012 Aug 31
3
fitting lognormal censored data
Hi ,
I am trying to get some estimator based on lognormal distribution when we have left,interval, and right censored data. Since, there is now avalible pakage in R can help me in this, I had to write my own code using Newton Raphson method which requires first and second derivative of log likelihood but my problem after runing the code is the estimators were too high. with this email ,I provide
1999 May 03
1
problems compiling R-0.63.3 on alpha
Hi again !
Thanks for the info on updating the config.site file which I
have done. I have also added -lm in the Makeconf manually
because this is needed explicitly for DEC cc.
However, there are still a few problems when linking some
of the files as you can see from the enclosed log.
Ciao,
Andreas
-------------------------------------------------------
R-0.63.3>make
make[1]: Entering
1998 Nov 06
1
DEC alpha INSTALLATION R-0.62.4
Hi,
Just downloaded the R-0.62.4 of R and tried to install it. With the
standard procedure :
./configure
make
At the end of the compilation I got the following message :
ld:
../lib/libunix.a(system.o): main: multiply defined
fort: Severe: Failed while trying to link.
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
I attach the printout after the ./configure and make
2009 Aug 07
0
Fitting Truncated Distribution
Dear All,
I know that this topic has been already discussed on this list (see e.g.
http://markmail.org/message/bq2bdxwblwl4rpgf?q=r+fit+truncated+lognormal&page=1&refer=2ufc4fb2eftfwwml#query:r%20fit%20truncated%20lognormal+page:1+mid:7wxgkdxhixotorr5+state:results
for the case of weibull distribution), but I am experiencing some problems.
I deal with truncated distributions (that this to
1999 May 03
0
compilation of R-0.63.3 on alpha (PR#183)
This is a multipart MIME message.
--==_Exmh_981436288450
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi !
I have problems compiling R successfully on a DEC-UINX 4.0E.
I have applied the recommended config.site, which I enclose.
As can be seen from the compilation log there are linking errors...
I did a 'make check' which fails for the R
1998 Dec 08
0
R compile problems with AIX
Hello,
I've allways had some problems compiling R (R-62.x and R-63.x) on a AIX 4.2.1 System to the end:
make produces following output:
...
...
mkdir ../../../library/eda/R
ld: 0711-327 WARNING: Entry point not found: __start
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
gnumake[4]: *** [eda.so] Error 8
gnumake[3]: *** [all] Error 1
gnumake[2]: *** [R] Error 1
gnumake[1]:
1998 Dec 08
0
R compile problems with AIX
Hello,
I've allways had some problems compiling R (R-62.x and R-63.x) on a AIX 4.2.1 System to the end:
make produces following output:
...
...
mkdir ../../../library/eda/R
ld: 0711-327 WARNING: Entry point not found: __start
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
gnumake[4]: *** [eda.so] Error 8
gnumake[3]: *** [all] Error 1
gnumake[2]: *** [R] Error 1
gnumake[1]:
2002 Jan 22
1
compile problem with bessel_i.c on IRIX64 flexor 6.5 10100655 IP35 (uname -a) (PR#1275)
I have included the full configure/make output:
(the particular error regarding bessel_i.c is at
the END of the report).
-walter tautz
cd build/R-1.4.0 \
&& unset noclobber \
&& CPPFLAGS=" " \
LDFLAGS="" \
./configure --prefix=/software/r-1 \
--datadir=/software/r-1/data \
--libdir=/software/r-1/lib \
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)
Hello,
I am trying to build R from source on Scientific Linux release 6.9
(Carbon), Linux version 2.6.32-696.3.2.el6.x86_64 (Red Hat 4.4.7-18).
I load the needed modules and run:
*./configure --prefix $install_dir --with-blas --with-lapack
--enable-R-shlib 2>&1 | tee config-R-$version.log*
The "configure" command seems to run ok:
*R is now configured for
2001 Jul 25
2
Installation help
Hello,
I am trying to compile R using the Sun WorkShop 6.0 (Forte) compilers.
I don't think I am having a problem with the compilers, but instead with
figuring out how to modify the R configuration to use non-Gnu compilers.
I found in your documentation that one should modify the config.site
file
to change compilers, compiler flags, library paths, etc. I made
modifications
in this file,