Displaying 20 results from an estimated 800 matches similar to: "Is DUD available in nls()?"
2013 Mar 31
1
DUD (Does not Use Derivatives) for nonlinear regression in R?
Hi, All
SAS has DUD (Does not Use Derivatives)/Secant Method for nonlinear
regression, does R offer this option for nonlinear regression?
I have read the helpfile for nls() and could not find such option, any
suggestion?
Thanks,
Derek
[[alternative HTML version deleted]]
2013 Apr 03
1
DUD (Does not Use Derivatives) for nonlinear
> Date: Tue, 2 Apr 2013 06:59:13 -0500
> From: Paul Johnson <pauljohn32 at gmail.com>
> To: qi A <send2aqi at gmail.com>
> Cc: R-help <r-help at r-project.org>
> Subject: Re: [R] DUD (Does not Use Derivatives) for nonlinear
> regression in R?
> Message-ID:
> <CAErODj_1pK8raHyAme_2Wt5zQZ_HqOhRjQ62bChhkORWbW=o2A at mail.gmail.com>
> Content-Type:
2012 Oct 18
3
Upper limit in nlsLM not working as expected
Dear all,
I am using the nlsLM function to fit a Lorentzian function to my experimental data.
The LM algorithm should allow to specify limits, but the upper limit appears not to work as expected in my code.
The parameter 'w', which is peak width at half maximuim always hits the upper limit if the limit is specified. I would expect the value to be in-between the upper and lower limit with
2010 Aug 25
4
Secant Method Convergence (Method to replicate Excel XIRR/IRR)
Hi,
I am new to R, and as a first exercise, I decided to try to implement an XIRR function using the secant method. I did a quick search and saw another posting that used the Bisection method but wanted to see if it was possible using the secant method.
I would input a Cash Flow and Date vector as well as an initial guess. I hardcoded today's initial date so I could do checks in Excel.
2000 May 04
2
alas, no vecnorm
I wanted a function that would give the euclidean distance of a vector.
Then I was happy, because I found vecnorm listed on pg 55 of V&R (3rd
edn) which I had just bought today.
Then I was sad, because R did not have vecnorm.
Then I was happy again, because I bethought myself that I could copy the
function vecnorm from splus to my code.
Then I was sad again because R complained
>
2020 Jul 14
2
How to install libisl.so.19 on chromebook?
I am trying to install minpack.lm on R 3.3.3 (Debian version) on a
Chromebook. But I get this error:
```
> install.packages("minpack.lm")
Installing package into ?/home/marongiuluigi/R/x86_64-pc-linux-gnu-library/3.3?
(as ?lib? is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/minpack.lm_1.2-1.tar.gz'
Content type 'application/x-gzip' length 43029 bytes
2024 May 05
2
lmer error: number of observations <= number of random effects
I am running a multilevel growth curve model to examine predictors of
social anhedonia (SA) trajectory through ages 12, 15 and 18. SA is a
continuous numeric variable. The age variable (Index1) has been coded as 0
for age 12, 1 for age 15 and 2 for age 18. I am currently using a time
varying predictor, stress (LSI), which was measured at ages 12, 15 and 18,
to examine whether trajectory/variation
2024 May 05
2
lmer error: number of observations <= number of random effects
I am running a multilevel growth curve model to examine predictors of
social anhedonia (SA) trajectory through ages 12, 15 and 18. SA is a
continuous numeric variable. The age variable (Index1) has been coded as 0
for age 12, 1 for age 15 and 2 for age 18. I am currently using a time
varying predictor, stress (LSI), which was measured at ages 12, 15 and 18,
to examine whether trajectory/variation
2010 Dec 21
3
how to see what's wrong with a self written function?
Hi all,
I am writing a simple function to implement regularfalsi (secant) method.
###################################################
regulafalsi=function(f,x0,x1){
x=c()
x[1]=x1
i=1
while ( f(x[i])!=0 ) {
i=i+1
if (i==2) {
x[2]=x[1]-f(x[1])*(x[1]-x0)/(f(x[1])-f(x0))
} else {
x[i]=x[i-1]-f(x[i-1])*(x[i-1]-x[i-2])/(f(x[i-1])-f(x[i-2]))
}
}
x[i]
}
2020 Jul 14
2
How to install libisl.so.19 on chromebook?
Thank you, it looks like I have already libisl:
```
apt search libisl
Sorting... Done
Full Text Search... Done
libisl-dbg/oldstable 0.18-1 amd64
manipulating sets and relations of integer points bounded by linear
constraints
libisl-dev/oldstable 0.18-1 amd64
manipulating sets and relations of integer points bounded by linear
constraints
libisl15/oldstable,now 0.18-1 amd64
2012 Nov 08
3
vectorized uni-root?
dear R experts--- I have (many) unidimensional root problems. think
loc.of.root <- uniroot( f= function(x,a) log( exp(a) + a) + a,
c(.,9e10), a=rnorm(1) ) $root
(for some coefficients a, there won't be a solution; for others, it
may exceed the domain. implied volatilities in various Black-Scholes
formulas and variant formulas are like this, too.)
except I don't need 1 root, but a
2020 Jul 14
1
How to install libisl.so.19 on chromebook?
I don't know about the configuration. I installed R using the standard
protocol for Chromebook
http://blog.sellorm.com/2018/12/20/installing-r-and-rstudio-on-a-chromebook/
the rest, it was done by the system itself...
On Tue, Jul 14, 2020 at 1:30 PM Dirk Eddelbuettel <edd at debian.org> wrote:
>
>
> There is something wrong with your system / setup I did not notice first:
>
2012 Jul 11
2
nls problem: singular gradient
Why fails nls with "singular gradient" here?
I post a minimal example on the bottom and would be very
happy if someone could help me.
Kind regards,
###########
# define some constants
smallc <- 0.0001
t <- seq(0,1,0.001)
t0 <- 0.5
tau1 <- 0.02
# generate yy(t)
yy <- 1/2 * ( 1- tanh((t - t0)/smallc) * exp(-t / tau1) ) + rnorm(length(t))*0.01
# show the curve
2016 Oct 08
4
optim(…, method=‘L-BFGS-B’) stops with an error message while violating the lower bound
Hello:
The development version of Ecdat on R-Forge contains a vignette
in which optim(?, method=?L-BFGS-B?) stops with an error message while
violating the lower bound.
To see all the details, try the following:
install.packages("Ecdat", repos="http://R-Forge.R-project.org")
Then do "help(pac=Ecdat)" -> "User guides, package
2019 Oct 02
2
CentOS 8 Broken Installation
On 10/2/19 9:47 PM, Jonathan Billings wrote:
> On Oct 2, 2019, at 3:39 PM, Ljubomir Ljubojevic <centos at plnet.rs> wrote:
>> Richard on CentOS-devel mailing list has similar problem but suggests it
>> might be issue only with CentOS, he says he had to add the kernel line
>> to make it work.
>> Name of the tread is:
>> [CentOS-devel] Booting CentOS 8 in a VM
2011 Sep 22
1
nlm's Hessian update method
Hi R-help!
I'm trying to understand how R's nlm function updates its estimate of the Hessian matrix. The Dennis/Schnabel book cited in the references presents a number of different ways to do this, and seems to conclude that the positive-definite secant method (BFGS) works best in practice (p201). However, when I run my code through the optim function with the method as "BFGS",
2012 Jan 18
1
Non-linear Least Square Optimization -- Function of two variables.
Dear All,
In the past I have often used minpack (http://bit.ly/zXVls3) relying
on the Levenberg-Marquardt algorithm to perform non-linear fittings.
However, I have always dealt with a function of a single variable.
Is there any difference if the function depends on two variables?
To fix the ideas, please consider the function
f(R,N)=(a/(log(2*N))+b)*R+c*N^d,
where a,b,c,d are fit parameters.
For
2019 Oct 02
3
CentOS 8 Broken Installation
On 10/2/19 9:27 PM, Jonathan Billings wrote:
> On Oct 2, 2019, at 15:14, G?nther J. Niederwimmer <gjn at gjn.priv.at> wrote:
>>
>> Hello,
>>
>> Is it a Plan to correct the Broken mdadm and or driver for Intel Chipset C602,
>> my Server SuperMicro Board X9SRi-F have a Problem with the new C8 or RH8 ?
>
> Is there a bug filed on
2011 Jul 17
1
issues when add driverdisk to centos5.6 using NFS method
Hi, I am Ken.. I am trying to add dud(driver update disk) to centos5.6
using network method, I can successfully add dud to centos5.6 using
http and ftp method, but fail when using nfs method. However those all
three methods are officially supported in the centos5.6.
As indicated in the centos5.6 website, we can see they not only
support http, ftp, but also nfs.
2023 Nov 06
1
non-linear regression and root finding
? Mon, 6 Nov 2023 17:53:49 +0100
Troels Ring <tring at gvdnet.dk> ?????:
> Hence I wonder if I could somehow have non linear regression to find
> the 3 pK values. Below is HEPESFUNC which delivers charge in the
> fluid for known pKs, HEPTOT and SID. Is it possible to have
> root-finding in the formula with nls?
Sure. Just reformulate the problem in terms of a function that