Displaying 1 result from an estimated 1 matches for "boundedexp".
2006 Nov 03
1
Using a deriv function in nlme
...eproduce an earlier analysis (done in Splus)
and I get slightly different results with SSasympOrig.
Here are my calls:
This does fit the nlme model:
L1.lis<-nlsList(SSasympOrig,L1.gd)
L1.nlme<-nlme(L1.lis)
Here is the derive function -it works for the nls call:
boundedexp<-deriv(~100/(1+exp(-L))*(1-exp(-exp(logR)*x)),
c("L", "logR"), function(x,L,logR){} )
L1.nls<-nls(ability ~ boundedexp(age,limit,lograte),
data=L1.gd, start=c(limit=2,lograte=-3))
summary(L1.nls)
. but here I run into problem...