Displaying 20 results from an estimated 100 matches similar to: "incorrect result of deriv (PR#9449)"
2007 May 26
1
bug from nlm function (PR#9711)
Full_Name: bernardo moises lagos alvarez
Version: 2.4.0
OS: Windows XP professional
Submission from: (NULL) (152.74.219.16)
I need obtained the MLE of weibull parameters using the nlm with exact gradient
an
hessian. I am doing. bug report :Erro en log(b) : el argumento "b" est? ausente,
sin default
1.Construction to objectiv functin with n=1 data
2007 Mar 20
2
Problems about Derivaties
Dear participants to the list,
this is my problem: I want to obtain an expression that represents the second
derivative of one function.
With "deriv3" (package "stats") it is possible to evaluate the second
derivative, but I do not know how I can get the (analytical) expression of this
derivative.
For example: Suppose that I have a function of this form:
2001 Oct 07
1
Bug in Deriv? (PR#1119)
deriv seems to have problems with a minus-sign before a bracket.
Below are four examples of the same function, the top one
is wrong, all others are correct (hopefully).
Rest of expression not shown, it is the same for all versions.
_
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status
major 1
minor 3.0
year 2001
month 06
day 22
language R
2001 May 28
0
bugs in deriv(*, *, function.arg = ) (PR#953)
Also, this should have gone in R-bugs quite a while ago :
------- start of forwarded message -------
From: Martin Maechler <maechler@stat.math.ethz.ch>
To: R-core@stat.math.ethz.ch
Subject: PROTECT() bugs in deriv(*, *, function.arg = )
Date: Mon, 16 Apr 2001 21:02:10 +0200
In R versions 0.50 and 0.64.2 ,
the following worked
> deriv(expression(sin(cos(x) * y)),
2001 May 28
1
deriv (PR#953)
------- start of forwarded message -------
From: Martin Maechler <maechler@stat.math.ethz.ch>
To: R-core@stat.math.ethz.ch
Subject: PROTECT() bugs in deriv(*, *, function.arg = )
Date: Mon, 16 Apr 2001 21:02:10 +0200
In R versions 0.50 and 0.64.2 ,
the following worked
> deriv(expression(sin(cos(x) * y)), c("x","y"), function(x,y){})
function (x, y)
2004 Feb 13
1
Problems with R CMD INSTALL on SUSE-LINUX 9.0
Dear Colleagues,
I've recently upgraded to SUSE-LINUX 9.0 and R 1.8.1 (using the
RPM-'s from CRAN).
I've checked that all required LINUX-Packages as listet in the
README.html in /bin/linux/SUSE
are installed.
I've then tried to INSTALL and check a package.
Installation with
R CMD INSTALL -l Rcontrib aws
* Installing *source* package 'aws' ...
** libs
make:
2010 Apr 12
0
How to derive function for parameters in Self start model in nls
Dear all
i want to fit the self start model in nls. i have two question. i have a
function,
(asfr ~ I(((a*b)/c))+ ((c/age)^3/2)+ exp((-b^2)*(c/age)+(age/c)-2)
i am wondering how to build the selfstart model. there is lost of example,
(i.e. SSgompertz, SSmicman, SSweibull, etc). my question is, how to derive
the function of parameters. and also which model to use for get
the initials values. In the
2003 Oct 10
1
incorrect behaviour of formals (PR#4511)
Full_Name: Jörg Polzehl
Version: 1.8.0
OS: Windows XP
Submission from: (NULL) (62.141.176.1)
I encountered a problem when playing with the mle library and specifying
negative
starting values for the parameters.
The reason seems to be an incorrect behaviour of function formals:
glike<-function(a=1,b=1,c=1) a
> formals(glike)
$a
[1] 1
$b
[1] 1
$c
[1] 1
> unlist(formals(glike))
a b c
2009 Oct 19
2
How to get slope estimates from a four parameter logistic with SSfpl?
Hi,
I was hoping to get some advice on how to derive estimates of slopes from four parameter logistic models fit with SSfpl.
I fit the model using:
model<-nls(temp~SSfpl(time,a,b,c,d))
summary(model)
I am interested in the values of the lower and upper asymptotes (parameters a and b), but also in the gradient of the line at the inflection point (c) which I assume tells me my rate of
2001 May 01
0
SSfpl self-start sometimes fails... workaround proposed
Hello,
nls library provides 6 self-starting models, among them: SSfp, a four
parameters logistic function. Its self-starting procedure involves several
steps. One of these steps is:
pars <- as.vector(coef(nls(y ~ cbind(1, 1/(1 + exp((xmid - x)/exp(lscal)))),
data = xydata, start = list(lscal = 0), algorithm = "plinear")))
which assumes an initial value of lscal equal to 0. If lscal
2002 Jun 28
1
Problem in optim(method="L-BFGS-B") (PR#1717)
Full_Name: Jörg Polzehl
Version: 1.5.1
OS: Windows 2000
Submission from: (NULL) (193.175.148.198)
When calculating MLE's in a variance component model using constrained
optimization, i.e. optim(...,method="L-BFGS-B",...) I observed an inproper
behaviour in cases where
the likelihood function was evalueted at the constraint. Parameters and value of
the
function at the constraint
2011 Nov 17
3
Obtaining a derivative of nls() SSlogis function
Hello, I am wondering if someone can help me. I have the following function
that I derived using nls() SSlogis. I would like to find its derivative. I
thought I had done this using deriv(), but for some reason this isn't
working out for me.
Here is the function:
asym <- 84.951
xmid <- 66.90742
scal <- -6.3
x.seq <- seq(1, 153,, 153)
nls.fn <- asym/((1+exp((xmid-x.seq)/scal)))
2000 Jan 27
3
handling of dimension-attribute in density (PR#406)
Full_Name: Joerg Polzehl
Version: 0.90.1
OS: Digital UNIX V4.0F
Submission from: (NULL) (192.124.249.126)
The dimension attribute in function density is not handled correctly
(or at least differently from S) :
z_rnorm(1000)
dim(z)_c(10,10,10)
plot(density(z),type="l")
# no problem
plot(density(z[1,,]),type="l")
# Error in if (!(lo <- min(hi, IQR(x)/1.34))) (lo <-
2000 Aug 10
1
svd error (PR#631)
--=====================_24736660==_
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: quoted-printable
SVD-Error on
R 1.1.0
Windows 98
I get the following error applying svd on a positive definite matrix :
> sk2
[,1] [,2] [,3] [,4] [,5]
[1,] 1.0460139783 0.084356992 -2.810553e-04
2009 Jan 23
2
R for Computational Neuroscience?
Hi all,
I've noticed that many computational neuroscience research groups use
MATLAB. While it's possible that MATLAB may have some features
unavailable in R, I suspect that this may instead simply be a case of
costly tradition, where researchers were taught MATLAB as students and
pay for it as researchers because it's all they know.
I'd like to attempt to break the cycle by
2002 Aug 10
0
?subexpressions, D, deriv
Hi all,
I am not used to using the computer to do calculus and have up to
now done my differentiation "by hand" , calling on skills I learned
many years ago and some standard cheat sheets.
My interest at present is in getting the second derivative of a
gaussian, which I did by hand and results in a somewhat messy
result involving terms in sigma^5 .. I have done some spot checks
2012 May 20
1
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* bisectr (0.0.2)
Maintainer: Winston Chang
Author(s): Winston Chang <winston at stdout.org>
License: GPL-2
http://crantastic.org/packages/bisectr
Tools to find bad commits with git bisect
* CUMP (1.0)
Maintainer: Xuan Liu
Author(s): Xuan Liu <liuxuan at bu.edu> and Qiong Yang <qyang at bu.edu>
2015 May 20
2
[LLVMdev] RFC: New EH representation for MSVC compatibility
This example is pretty compelling, but I still think I want to limit the
scope of this change to not include this feature. It's probably reasonable
to hold onto the idea as future work, though. In the meantime, frontends
can decide for themselves whether they want code size or stronger
optimization of cleanups by doing early outlining or not.
The only way we can hit the quadratic growth from
2015 May 19
2
[LLVMdev] RFC: New EH representation for MSVC compatibility
I think adding transitions to cleanupblocks on the normal execution path
would be an optimization barrier. Most passes would see the cleanupblock
instruction and run the other way. It's definitely appealing from the
perspective of getting the smallest possible code, but I'm OK with having
no more than two copies of everything in the finally block.
I think with the addition of the
2004 Aug 10
0
Check failed after compilation (PR#7159)
Full_Name: Madeleine Yeh
Version: 1.9.1
OS: AIX 5.2
Submission from: (NULL) (151.121.225.1)
After compiling R-1.9.1 on AIX 5.2 using the IBM cc compiler, I ran the
checks. One of them failed. Here is the output from running the check solo.
root@svweb:/fsapps/test/build/R/1.9.1/R-1.9.1/tests/Examples:
># ../../bin/R --vanilla < stats-Ex.R
R : Copyright 2004, The R